Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url http://localhost:8000/auth/login \ --header 'Content-Type: application/json' \ --data ' { "email": "<string>", "password": "<string>", "tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
{ "access_token": "<string>", "expires_in": 123, "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "role": "<string>", "token_type": "bearer", "tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Authenticate a local user and issue a JWT.
User email
255
User password
8 - 128
Tenant to use when the user belongs to multiple tenants
Successful Response
JWT access token
Token expiration time in seconds
User's unique identifier
User's role in the tenant
Token type
Active tenant ID