Error 401 Unauthorized

GET https://admin-service.dev.kleap.co/api/user/me

Request / Response

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_api_operation
ApiPlatform\Metadata\Get {#1347
  #shortName: "User"
  #class: "App\Entity\Kleap\User"
  #description: null
  #urlGenerationStrategy: null
  #deprecationReason: null
  #normalizationContext: [
    "groups" => [
      "user:read"
    ]
  ]
  #denormalizationContext: [
    "groups" => [
      "user:write"
    ]
  ]
  #collectDenormalizationErrors: null
  #validationContext: null
  #filters: []
  #elasticsearch: null
  #mercure: null
  #messenger: null
  #input: null
  #output: null
  #order: null
  #fetchPartial: null
  #forceEager: null
  #paginationEnabled: true
  #paginationType: null
  #paginationItemsPerPage: null
  #paginationMaximumItemsPerPage: null
  #paginationPartial: null
  #paginationClientEnabled: true
  #paginationClientItemsPerPage: true
  #paginationClientPartial: null
  #paginationFetchJoinCollection: null
  #paginationUseOutputWalkers: null
  #security: "is_granted('ROLE_USER')"
  #securityMessage: null
  #securityPostDenormalize: null
  #securityPostDenormalizeMessage: null
  #securityPostValidation: null
  #securityPostValidationMessage: null
  #provider: "ApiPlatform\Doctrine\Orm\State\ItemProvider"
  #processor: "App\State\User\UserProcessor"
  #stateOptions: null
  #extraProperties: [
    "user_defined_uri_template" => true
  ]
  #paginationViaCursor: null
  #read: false
  #deserialize: null
  #validate: null
  #write: null
  #serialize: null
  #priority: 2
  #name: "_api_/user/me_get"
  #method: "GET"
  #uriTemplate: "/user/me"
  #types: null
  #formats: null
  #inputFormats: [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "csv" => [
      "text/csv"
    ]
    "html" => [
      "text/html"
    ]
  ]
  #outputFormats: [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "csv" => [
      "text/csv"
    ]
    "html" => [
      "text/html"
    ]
  ]
  #uriVariables: []
  #routePrefix: null
  #routeName: null
  #defaults: null
  #requirements: null
  #options: null
  #stateless: null
  #sunset: null
  #acceptPatch: null
  #status: null
  #host: null
  #schemes: null
  #condition: null
  #controller: "App\Controller\Api\CurrentUserReadController"
  #cacheHeaders: null
  #hydraContext: null
  #openapiContext: [
    "summary" => "Retourne les informations de l'utilisateur connecté"
    "description" => ""
  ]
  #openapi: null
  #exceptionToStatus: null
  #queryParameterValidationEnabled: null
  #links: null
}
_api_operation_name
"_api_/user/me_get"
_api_platform_links
Symfony\Component\WebLink\GenericLinkProvider {#2142
  -links: [
    2106 => Symfony\Component\WebLink\Link {#2106
      -href: "https://admin-service.dev.kleap.co/api/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_api_resource_class
"App\Entity\Kleap\User"
_controller
"App\Controller\Api\CurrentUserReadController"
_firewall_context
"security.firewall.map.context.api"
_format
null
_route
"_api_/user/me_get"
_route_params
[
  "_format" => null
  "_stateless" => null
  "_api_resource_class" => "App\Entity\Kleap\User"
  "_api_operation_name" => "_api_/user/me_get"
]
_stateless
null
_stopwatch_token
"192481"

Request Headers

Header Value
accept
"application/json, text/plain, */*"
accept-encoding
"gzip, compress, deflate, br"
authorization
"Bearer undefined"
connection
"close"
content-type
"application/json"
host
"admin-service.dev.kleap.co"
user-agent
"axios/1.6.8"
x-php-ob-level
"1"
x-vercel-id
"iad1::lbg76-1736442082707-df990cd137c2"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"application/json"
date
"Thu, 09 Jan 2025 17:01:30 GMT"
link
"<https://admin-service.dev.kleap.co/api/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation""
www-authenticate
"Bearer"
x-debug-token
"0fbcca"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_FRONT
"app.kleap.co"
APP_SECRET
"0daf74d10ce3e0353ee694e7e8021142"
AUTH0_API_AUDIENCE
"https://admin-service.kleap.co/api"
AUTH0_BASE_URL
"https://admin-service.kleap.co"
AUTH0_CLIENT_ID
"8yxRnVvqpXAl7bDoUVoeyZyeNZL2hRXY"
AUTH0_CLIENT_SECRET
"ywlUgY7K1XLksSPWY_brXMJrZqiM7ScFxXM0-4BMMbYerQ1m1mWZIU70NMwsnalu"
AUTH0_COOKIE_SECRET
"e2d9d5bb18c8caf03e723be15c9266f427223fad40c8c9d135f6538f397525cd"
AUTH0_CUSTOM_DOMAIN
"login.kleap.co"
AUTH0_DOMAIN
"login.kleap.co"
BACKBLAZE_ACCOUNT_ID
"3ed9cba0def8"
BACKBLAZE_BUCKET_NAME
"kleap-prod"
BACKBLAZE_ENDPOINT
"s3.us-east-005.backblazeb2.com"
BACKBLAZE_MASTER_KEY
"005fceea3faf993d1c79824c118a597eb50745db67"
CORS_ALLOW_ORIGIN
"."
CUSTOMERIO_API_BASEURL
"https://api-eu.customer.io/v1"
CUSTOMERIO_BEARER_TOKEN
"286c645fafbf3c76786566adbc0a89e6"
DATABASE_LEGACY_URL
"mysql://kleapdev:AVNS_FDwV8y_gv2hXUSLBo2j@db-mysql-lon1-kleap-main-do-user-4653747-0.m.db.ondigitalocean.com:25060/kleapProd?ssl-mode=REQUIREDMAILER_DSN=smtp://localhost:25"
DATABASE_SSL_CA_PATH
""
DATABASE_URL
"mysql://kleapdev:AVNS_FDwV8y_gv2hXUSLBo2j@db-mysql-lon1-kleap-main-do-user-4653747-0.m.db.ondigitalocean.com:25060/kleapProd?ssl-mode=REQUIRED"
FROALA_API_KEY
""
GOOGLE_API_BASEURL
"https://www.googleapis.com/webfonts/v1/webfonts"
GOOGLE_API_KEY
"AIzaSyC1OaPNG96OkOyt-FI9iBsfzH8Hvl7U-tw"
GOOGLE_AUTH_CONFIG
"%kernel.project_dir%/path/to/file.json"
GOOGLE_CLIENT_ID
"359486815119-8ifonekdjr2mhqkms3l87ck2f3is8c6t.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET
"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"
GOOGLE_RECAPTCHA_SECRET
""
GOOGLE_RECAPTCHA_SITE_KEY
""
JWT_PASSPHRASE
"8461899e952c8c600192543e2df43e1735b889113161cbebfb1b8caab7f4ecb2"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
LIGHT_GALLERY_API_KEY
""
LOCK_DSN
"flock"
LOG_LEVEL
"error"
MERCURE_HUB_HOST
"https://admin-hub-prod.kleap.co"
MERCURE_JWT_SECRET
"!KleapIsMovingNowForwardAndYouWillForSureTryItIn2023!"
MERCURE_PUBLIC_URL
"https://admin-hub-prod.kleap.co/.well-known/mercure"
MERCURE_URL
"https://admin-hub-prod.kleap.co/.well-known/mercure"
MESSENGER_TRANSPORT_DSN
"doctrine://default"
OPENAI_API_KEY
"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"
POSTMARK_APP_API_TOKEN
"5e61a73f-d670-4f7b-923b-d11a5a094454"
POSTMARK_SIGNATURE
"no-reply@kleap.co"
PROJECT_BRANCH
""
PROJECT_CLIENT_FOLDER
""
PROJECT_HOST_PREFIX
""
PROJECT_HOST_SSH_USER
""
PROJECT_PHP_INI
"php"
PROJECT_PUBLIC_URL
""
PROJECT_REPOSITORY
""
PROJECT_VERSION
""
REDIS_URL
"redis://127.0.0.1:6379"
REPLICATE_TOKEN
"r8_RHrw6C4x5ORYavgDwCjrLZ8QxusCd8O0U8KSL"
SEGMENT_KEY
"bUDO8D8zXADZOQwiGvEhrdft6g3fVB9r"
SENTRY_DSN
"https://51734c73991abfda6d520e78b20f5db3@o493859.ingest.sentry.io/4506111291162624"
STRIPE_KEY
"pk_live_51HDU3PGnQsoiWm256iBPH0Hn2tpAZe8a4fo3JJcMUIIDgYQiCLtMDi7QYJ7T8cNj48wQMj7ay074IvqmnSNepQIv00AOBY1bq5"
STRIPE_SECRET
"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"
TRUSTED_PROXIES
"127.0.0.1,REMOTE_ADDR"
UMAMI_PASSWORD
"umami"
UMAMI_USERNAME
"admin"
UNSPLASH_API_KEY
"ZhHkSbQUjv4M8DcDnIz3oeliVjFEK9C7qzMn6KOK1oI"
WKHTMLTOIMAGE_PATH
"/usr/local/bin/wkhtmltoimage"
WKHTMLTOPDF_PATH
"/usr/local/bin/wkhtmltopdf"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
""
CONTENT_TYPE
"application/json"
DOCUMENT_ROOT
"/var/www/html/admin-service-dev/current/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_ACCEPT
"application/json, text/plain, */*"
HTTP_ACCEPT_ENCODING
"gzip, compress, deflate, br"
HTTP_AUTHORIZATION
"Bearer undefined"
HTTP_CONNECTION
"close"
HTTP_CONTENT_TYPE
"application/json"
HTTP_HOST
"admin-service.dev.kleap.co"
HTTP_USER_AGENT
"axios/1.6.8"
HTTP_X_VERCEL_ID
"iad1::lbg76-1736442082707-df990cd137c2"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"15.237.130.99"
REMOTE_PORT
"37568"
REMOTE_USER
""
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1736442089
REQUEST_TIME_FLOAT
1736442089.9112
REQUEST_URI
"/api/user/me"
SCRIPT_FILENAME
"/var/www/html/admin-service-dev/current/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"159.89.14.36"
SERVER_NAME
"admin-service.dev.kleap.co"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.24.0"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,TRUSTED_PROXIES,DATABASE_URL,MESSENGER_TRANSPORT_DSN,WKHTMLTOPDF_PATH,WKHTMLTOIMAGE_PATH,MERCURE_URL,MERCURE_PUBLIC_URL,MERCURE_JWT_SECRET,MERCURE_HUB_HOST,CORS_ALLOW_ORIGIN,GOOGLE_RECAPTCHA_SITE_KEY,GOOGLE_RECAPTCHA_SECRET,FROALA_API_KEY,LIGHT_GALLERY_API_KEY,PROJECT_REPOSITORY,PROJECT_BRANCH,PROJECT_PUBLIC_URL,PROJECT_HOST_PREFIX,PROJECT_HOST_SSH_USER,PROJECT_VERSION,PROJECT_PHP_INI,PROJECT_CLIENT_FOLDER,CUSTOMERIO_API_BASEURL,CUSTOMERIO_BEARER_TOKEN,AUTH0_DOMAIN,AUTH0_CUSTOM_DOMAIN,AUTH0_API_AUDIENCE,AUTH0_CLIENT_ID,AUTH0_CLIENT_SECRET,AUTH0_COOKIE_SECRET,AUTH0_BASE_URL,DATABASE_SSL_CA_PATH,UMAMI_USERNAME,UMAMI_PASSWORD,LOCK_DSN,LOG_LEVEL,GOOGLE_API_KEY,GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET,GOOGLE_AUTH_CONFIG,SENTRY_DSN,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,POSTMARK_APP_API_TOKEN,POSTMARK_SIGNATURE,REDIS_URL,DATABASE_LEGACY_URL,UNSPLASH_API_KEY,STRIPE_KEY,STRIPE_SECRET,BACKBLAZE_ENDPOINT,BACKBLAZE_BUCKET_NAME,BACKBLAZE_ACCOUNT_ID,BACKBLAZE_MASTER_KEY,GOOGLE_API_BASEURL,SEGMENT_KEY,APP_FRONT,OPENAI_API_KEY,REPLICATE_TOKEN"
USER
"www-data"