Skip to main content
POST
Obtain a JWT token pair

Body

application/json
username
string
required
Example:

"john.doe"

password
string<password>
required
Example:

"SecurePass123"

Response

Token pair issued

token
string
required

RS256-signed JWT (see JWTPayload for decoded structure)

Example:

"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."

refresh_token
string
required

Base64-encoded 64-byte random refresh token

Example:

"dGhpcyBpcyBhIGJhc2U2NCBlbmNvZGVkIHRva2Vu..."