Error 401 Unauthorized

GET https://api.sae401.mmi24c16.mmi-troyes.fr/me

Request / Response

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\MeController::me"
_firewall_context
"security.firewall.map.context.api"
_route
"api_me"
_route_params
[]
_security_authenticators
[]
_security_skipped_authenticators
[
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#644
    -supports: false
    -passport: null
    -duration: null
    -stub: "Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator {#601 …}
  }
]
_stopwatch_token
"2b6d9d"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, deflate, br, zstd"
cache-control
"no-cache"
content-type
"application/json"
host
"api.sae401.mmi24c16.mmi-troyes.fr"
pragma
"no-cache"
priority
"u=1, i"
referer
"http://sae401.mmi24c16.mmi-troyes.fr/"
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"cross-site"
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.132 Safari/537.36"
x-php-ob-level
"1"

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
"Fri, 26 Jun 2026 23:33:21 GMT"
www-authenticate
"Bearer"
x-debug-token
"63f6f9"

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_SECRET
"635ccc78c4de88ed49e3067e8d2df0de"
APP_SHARE_DIR
"var/share"
CORS_ALLOW_ORIGIN
"^https://sae401\.mmi24c16\.mmi-troyes\.fr$"
DATABASE_URL
"mysql://saeuser:NDEN83E38HD@127.0.0.1:3306/sae401?serverVersion=mariadb-10.4.27&charset=utf8mb4"
DEFAULT_URI
"http://localhost"
JWT_PASSPHRASE
"fbe6815da7aa1f4f092a5fbb398d3e8f734410906277337fddc1d911d1e9b3f9"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
MAILER_DSN
"null://null"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_PROJECT_DIR
"/var/www/sae401/backend"
APP_RUNTIME
"Symfony\Component\Runtime\SymfonyRuntime"
APP_RUNTIME_OPTIONS
[
  "project_dir" => "/var/www/sae401/backend"
]
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/var/www/sae401/backend/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/sae401/backend/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
H2PUSH
"off"
H2_PUSH
"off"
H2_PUSHED
""
H2_PUSHED_ON
""
H2_STREAM_ID
"1"
H2_STREAM_TAG
"2299887-20-1"
HOME
"/var/www"
HTTP2
"on"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_CACHE_CONTROL
"no-cache"
HTTP_HOST
"api.sae401.mmi24c16.mmi-troyes.fr"
HTTP_PRAGMA
"no-cache"
HTTP_PRIORITY
"u=1, i"
HTTP_REFERER
"http://sae401.mmi24c16.mmi-troyes.fr/"
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"cross-site"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.132 Safari/537.36"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_H2PUSH
"off"
REDIRECT_H2_PUSH
"off"
REDIRECT_H2_PUSHED
""
REDIRECT_H2_PUSHED_ON
""
REDIRECT_H2_STREAM_ID
"1"
REDIRECT_H2_STREAM_TAG
"2299887-20-1"
REDIRECT_HTTP2
"on"
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"api.sae401.mmi24c16.mmi-troyes.fr"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/me"
REMOTE_ADDR
"205.169.39.43"
REMOTE_PORT
"13961"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1782516801
REQUEST_TIME_FLOAT
1782516801.859
REQUEST_URI
"/me"
SCRIPT_FILENAME
"/var/www/sae401/backend/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"45.147.96.48"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"api.sae401.mmi24c16.mmi-troyes.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/2.0"
SERVER_SIGNATURE
"<address>Apache/2.4.67 (Debian) Server at api.sae401.mmi24c16.mmi-troyes.fr Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.67 (Debian)"
SSL_TLS_SNI
"api.sae401.mmi24c16.mmi-troyes.fr"
SYMFONY_DOTENV_PATH
"/var/www/sae401/backend/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,APP_SHARE_DIR,DEFAULT_URI,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,CORS_ALLOW_ORIGIN,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE"
USER
"www-data"
proxy-nokeepalive
"1"