JWT Authentication

The JWT Authentication Service provides the endpoint for authentication and retrieving a JWT.

Generates a new access token using the refresh token.

SecurityNone
Request
Request Body schema: application/x-www-form-urlencoded
refreshToken
required
string

Refresh token.

Responses
200

JWT returned as response body.

403

Bad credentials, or not authorized to log in as loginAs.

500

Internal Server Error

post/public/jwtauth/refreshToken
Request samples
application/x-www-form-urlencoded
refreshToken=string

Authenticates a user and produces a JWT.

SecurityNone
Request
Request Body schema: application/x-www-form-urlencoded
userId
required
string

The user's ID.

password
required
string

The user's password.

loginAs
string

Optional ID of another user to login as.

Responses
200

JWT returned as response body.

403

Bad credentials, or not authorized to log in as loginAs.

500

Internal Server Error

post/public/jwtauth/authenticate
Request samples
application/x-www-form-urlencoded
userId=string&password=string&loginAs=string

Authenticates a user and produces a JWT.

SecurityNone
Request
Request Body schema: application/x-www-form-urlencoded
userId
required
string

The user's ID.

password
required
string

The user's password.

loginAs
string

Optional ID of another user to login as.

Responses
200

JWT returned as response body.

403

Bad credentials, or not authorized to log in as loginAs.

500

Internal Server Error

post/public/jwtauth/authenticate/refresh
Request samples
application/x-www-form-urlencoded
userId=string&password=string&loginAs=string