Authentication

Create a single sign-on token

POST/api/auth/sso

Returns the authenticated user and a new token valid for 24 hours. Requires Redis-backed authentication.

Headers

NameTypeDescription
AuthorizationrequiredstringAuthentication credentials, e.g. Bearer <token>.

Responses

200The operation completed successfully.
NameTypeDescription
tokenrequiredstring
userrequiredanyUser associated with the resource.
200 example
401Unauthorized.
NameTypeDescription
errorrequiredobjectError details returned when the operation fails.
401 example
500Server error.
NameTypeDescription
errorrequiredobjectError details returned when the operation fails.
500 example

Code samples

cURL