POST https://e-batiment.fji.ch/api/auth/login

Request / Response

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_firewall_context
"security.firewall.map.context.login"
_route
"api_auth_login"
_route_params
[]
_security.last_username
"fabian.joris@fji.ch"
_security_firewall_run
"_security_login"
_security_login_throttling_consumed
true
_security_login_throttling_untouched
false
_stopwatch_token
"5830b0"

Request Headers

Header Value
accept
"application/json"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"fr,fr-FR;q=0.9,en-US;q=0.8,en;q=0.7"
content-length
"62"
content-type
"application/ld+json"
cookie
"main_deauth_profile_token=97c69b; login_deauth_profile_token=963cec"
host
"e-batiment.fji.ch"
origin
"https://e-batiment.fji.ch"
referer
"https://e-batiment.fji.ch/connexion?redirect=%2Fconnexion"
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-origin"
te
"trailers"
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:161.0) Gecko/20100101 Firefox/161.0"
x-forwarded-proto
"https"
x-php-ob-level
"1"
x-requested-with
"XMLHttpRequest"

Request Content

Pretty

{
    "email": "fabian.joris@fji.ch",
    "password": "Jspp186.feu@Aigle"
}

Raw

{"email":"fabian.joris@fji.ch","password":"Jspp186.feu@Aigle"}

Retry Command

curl \
  --compressed \
  --request POST \
  --url 'https://e-batiment.fji.ch/api/auth/login' \
  --header 'X-Forwarded-Proto: https' \
  --header 'Te: trailers' \
  --header 'Sec-Fetch-Site: same-origin' \
  --header 'Sec-Fetch-Mode: cors' \
  --header 'Sec-Fetch-Dest: empty' \
  --header 'Origin: https://e-batiment.fji.ch' \
  --header 'Content-Length: 62' \
  --header 'X-Requested-With: XMLHttpRequest' \
  --header 'Content-Type: application/ld+json' \
  --header 'Referer: https://e-batiment.fji.ch/connexion?redirect=%2Fconnexion' \
  --header 'Accept-Encoding: gzip, deflate, br, zstd' \
  --header 'Accept-Language: fr,fr-FR;q=0.9,en-US;q=0.8,en;q=0.7' \
  --header 'Accept: application/json' \
  --header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:161.0) Gecko/20100101 Firefox/161.0' \
  --header 'X-Php-Ob-Level: 1' \
  --cookie 'main_deauth_profile_token=97c69b; login_deauth_profile_token=963cec' \
  --data-raw '{"email":"fabian.joris@fji.ch","password":"Jspp186.feu@Aigle"}'

Response

Response Headers

Header Value
cache-control
"max-age=0, must-revalidate, private"
content-type
"application/json"
date
"Sun, 06 Dec 2026 15:59:32 GMT"
expires
"Sun, 06 Dec 2026 15:59:32 GMT"
set-cookie
"__Host-eb_login=e2ea215f14a39be46910f7140678fea5; path=/; secure; httponly; samesite=strict"
x-debug-token
"bf73eb"
x-robots-tag
"noindex"

Cookies

Request Cookies

Key Value
login_deauth_profile_token
"963cec"
main_deauth_profile_token
"97c69b"

Response Cookies

Key Value
__Host-eb_login
Symfony\Component\HttpFoundation\Cookie {#974
  #expire: 0
  #path: "/"
  -sameSite: "strict"
  -secureDefault: false
  #name: "__Host-eb_login"
  #value: "e2ea215f14a39be46910f7140678fea5"
  #domain: ""
  #secure: true
  #httpOnly: true
  -raw: false
  -partitioned: false
}

Session 2

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

2 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:42
[
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 42
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Authentication/AuthenticatorManager.php"
    "line" => 169
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Authentication/AuthenticatorManager.php"
    "line" => 155
    "function" => "executeAuthenticator"
    "class" => "Symfony\Component\Security\Http\Authentication\AuthenticatorManager"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Authentication/AuthenticatorManager.php"
    "line" => 137
    "function" => "executeAuthenticators"
    "class" => "Symfony\Component\Security\Http\Authentication\AuthenticatorManager"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Firewall/AuthenticatorManagerListener.php"
    "line" => 38
    "function" => "authenticateRequest"
    "class" => "Symfony\Component\Security\Http\Authentication\AuthenticatorManager"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticatorManagerListener.php"
    "line" => 58
    "function" => "authenticate"
    "class" => "Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 52
    "function" => "authenticate"
    "class" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 93
    "function" => "authenticate"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Firewall.php"
    "line" => 93
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 122
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 115
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 174
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 80
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/http-kernel/Kernel.php"
    "line" => 156
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 34
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/autoload_runtime.php"
    "line" => 32
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/public/index.php"
    "line" => 7
    "args" => [
      "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:54
[
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 54
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Authentication/AuthenticatorManager.php"
    "line" => 226
    "function" => "setToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Authentication/AuthenticatorManager.php"
    "line" => 214
    "function" => "handleAuthenticationSuccess"
    "class" => "Symfony\Component\Security\Http\Authentication\AuthenticatorManager"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Authentication/AuthenticatorManager.php"
    "line" => 155
    "function" => "executeAuthenticator"
    "class" => "Symfony\Component\Security\Http\Authentication\AuthenticatorManager"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Authentication/AuthenticatorManager.php"
    "line" => 137
    "function" => "executeAuthenticators"
    "class" => "Symfony\Component\Security\Http\Authentication\AuthenticatorManager"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Firewall/AuthenticatorManagerListener.php"
    "line" => 38
    "function" => "authenticateRequest"
    "class" => "Symfony\Component\Security\Http\Authentication\AuthenticatorManager"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticatorManagerListener.php"
    "line" => 58
    "function" => "authenticate"
    "class" => "Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 52
    "function" => "authenticate"
    "class" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 93
    "function" => "authenticate"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Firewall.php"
    "line" => 93
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 122
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 115
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 174
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 80
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/http-kernel/Kernel.php"
    "line" => 156
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 34
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/autoload_runtime.php"
    "line" => 32
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/public/index.php"
    "line" => 7
    "args" => [
      "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENCRYPTION_KEY
"lrnjuBALhBIT35xlTJ042gMwM7/CUIgqzSikePsneCI="
APP_ENV
"dev"
APP_PUBLIC_URL
"https://localhost:8000"
APP_SECRET
"b60c37ca9fb0f16f9e03504b43dfdff8"
APP_SHARE_DIR
"var/share"
DATABASE_URL
"mysql://sc6s0_ebatiment:i2U%40V%24e%23Fz6.7@sc6s0.myd.infomaniak.com:3306/sc6s0_ebatiment?serverVersion=10.11.19-MariaDB&charset=utf8mb4"
DEFAULT_URI
"http://localhost"
DEFAULT_URL
"e-batiment.fji.ch"
JWT_PASSPHRASE
"163fbbb1424923a1ee8825c0be1a36f9c0ce31aea7503b4ccc067642eb4ee649"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
JWT_TOKEN_TTL
"900"
LOCK_DSN
"flock"
MAILER_DSN
"smtp://no-reply@fajinfo.ch:6f%24ydIk%24PIE%2A%21P33@mail.infomaniak.com:587"
MAILER_FROM
"E-Bâtiment <no-reply@fajinfo.ch>"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
PHOTO_RETENTION_DAYS
"730"
REFRESH_TOKEN_TTL
"604800"
STORAGE_DIR
"%kernel.project_dir%/var/storage"
TRUSTED_DEVICE_TTL
"2592000"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_PROJECT_DIR
"/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch"
APP_RUNTIME
"Symfony\Component\Runtime\SymfonyRuntime"
APP_RUNTIME_OPTIONS
[
  "project_dir" => "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch"
]
CONTENT_LENGTH
"62"
CONTENT_TYPE
"application/ld+json"
CONTEXT_DOCUMENT_ROOT
"/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/home/clients/7013e9c520340d452787db41b1ef6905"
HTTPS
"on"
HTTP_ACCEPT
"application/json"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_ACCEPT_LANGUAGE
"fr,fr-FR;q=0.9,en-US;q=0.8,en;q=0.7"
HTTP_COOKIE
"main_deauth_profile_token=97c69b; login_deauth_profile_token=963cec"
HTTP_HOST
"e-batiment.fji.ch"
HTTP_ORIGIN
"https://e-batiment.fji.ch"
HTTP_REFERER
"https://e-batiment.fji.ch/connexion?redirect=%2Fconnexion"
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-origin"
HTTP_TE
"trailers"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:161.0) Gecko/20100101 Firefox/161.0"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_REQUESTED_WITH
"XMLHttpRequest"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
PHP_VERSION
"8.5"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_PHP_VERSION
"8.5"
REDIRECT_SCRIPT_URI
"https://e-batiment.fji.ch/api/auth/login"
REDIRECT_SCRIPT_URL
"/api/auth/login"
REDIRECT_SSL_TLS_SNI
"e-batiment.fji.ch"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"axWGZADzReLpameiHypuwwAAAZ8"
REDIRECT_URL
"/api/auth/login"
REMOTE_ADDR
"2a02:21b4:3615:c000:5ea:c2c3:3f8f:9f9"
REMOTE_PORT
"59564"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1796572772
REQUEST_TIME_FLOAT
1796572772.1257
REQUEST_URI
"/api/auth/login"
SCRIPT_FILENAME
"/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://e-batiment.fji.ch/api/auth/login"
SCRIPT_URL
"/api/auth/login"
SERVER_ADDR
"127.0.0.80"
SERVER_ADMIN
"webmaster@fji.ch"
SERVER_NAME
"e-batiment.fji.ch"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"e-batiment.fji.ch"
SYMFONY_DOTENV_PATH
"/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,APP_SHARE_DIR,DEFAULT_URI,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,LOCK_DSN,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,MAILER_FROM,JWT_TOKEN_TTL,REFRESH_TOKEN_TTL,TRUSTED_DEVICE_TTL,PHOTO_RETENTION_DAYS,STORAGE_DIR,APP_ENCRYPTION_KEY,APP_PUBLIC_URL,DEFAULT_URL"
TEMP
"/home/clients/7013e9c520340d452787db41b1ef6905/tmp"
TMP
"/home/clients/7013e9c520340d452787db41b1ef6905/tmp"
TMPDIR
"/home/clients/7013e9c520340d452787db41b1ef6905/tmp"
UNIQUE_ID
"axWGZADzReLpameiHypuwwAAAZ8"
USER
"uid115213"