No arguments...
post /auth/logout
OAuth 2 authentication via HTTP basic authentication, see Section 4.4 of RFC 6749 for details.
OAuth 2 grant type, must be set to "client_credentials" for this endpoint.
post /auth/login
Access token, should be handled as an opaque value as the format may change in the future.
OAuth2 token type, always "bearer".
Duration in seconds.
All roles of the user the token is associated with.
Internal id of the user this token is associated with.
Set if the user never changed their password.
{
"access_token": "string",
"token_type": "string",
"expires_in": ,
"roles": [
"string"
],
"userId": 0,
"passwordWasNeverChanged": true
}
OAuth 2 authentication with all parameters as url-encoded form, see Section 4.3 of RFC 6749 for details.
OAuth 2 grant type, must be set to "password" for this endpoint.
User name of the croit or LDAP user.
Plaintext password.
post /auth/login-form
Access token, should be handled as an opaque value as the format may change in the future.
OAuth2 token type, always "bearer".
Duration in seconds.
All roles of the user the token is associated with.
Internal id of the user this token is associated with.
Set if the user never changed their password.
{
"access_token": "string",
"token_type": "string",
"expires_in": ,
"roles": [
"string"
],
"userId": 0,
"passwordWasNeverChanged": true
}
No arguments...
get /auth/token-info
-
-
-
{
"username": "string",
"roles": [
"string"
],
"expiry": 0
}
No arguments...
get /auth/okta/signInConfig
-
-
-
-
-
{
"baseUrl": "string",
"clientId": "string",
"issuer": "string",
"audience": "string",
"mapRoles": {}
}
-
post /auth/okta/login
Access token, should be handled as an opaque value as the format may change in the future.
OAuth2 token type, always "bearer".
Duration in seconds.
All roles of the user the token is associated with.
Internal id of the user this token is associated with.
Set if the user never changed their password.
{
"access_token": "string",
"token_type": "string",
"expires_in": ,
"roles": [
"string"
],
"userId": 0,
"passwordWasNeverChanged": true
}