Login
Username/password login
curl http://127.0.0.1:8080/api/login \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-X POST \
-d '{
"username": "YOUR_USERNAME",
"password": "YOUR_PASSWORD"
}'{
"access_token": "eyJz93a...k4laUWw",
"refresh_token": "eyJz93a...k4laUWx"
}curl http://127.0.0.1:8080/api/ \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer eyJz93a...k4laUWw' \
-X GETRetrieve valid JWT access and refresh tokens to use for accessing the API. Login either by username/password or Auth0 token
Authorizations
AuthorizationstringRequired
Body
passwordstringRequired
usernamestringRequired
Responses
200
OK
application/json
400
Bad Request
application/json
403
Forbidden
application/json
500
Internal Server Error
application/json
post
/api/loginAuth0 login
Retrieve valid JWT access and refresh tokens to use for accessing the API. Login either by username/password or Auth0 token
Authorizations
AuthorizationstringRequired
Body
passwordstringRequired
usernamestringRequired
Responses
200
OK
application/json
400
Bad Request
application/json
403
Forbidden
application/json
500
Internal Server Error
application/json
post
/api/loginJWT refresh
Last updated
Was this helpful?
