Authentication & Authorization (1.0.0)

Download OpenAPI specification:

OAuth token validation, user authentication and session management

apis

apis_auth_deleteUser_userid_destroy

Authorizations:
cookieAuthbasicAuthNone
path Parameters
sub
required
string

Responses

apis_auth_getUser_retrieve

Authorizations:
None

Responses

apis_auth_validateOAuthToken_retrieve

Authorizations:
None

Responses

external

Validate OAuth Token

Validates an Azure B2C OAuth token and returns user details. On first-time login, creates a new user profile from token claims and initializes default consents and screeners. On subsequent logins, retrieves the existing user profile.

Used when:

  • After successful Azure B2C authentication
  • To verify token validity and retrieve user identity

Common errors:

  • 401: Invalid or expired OAuth token
  • 400: Malformed request or missing token
Authorizations:
None

Responses

Response samples

Content type
application/json
{
  • "message": "Valid Token!",
  • "userid": "string",
  • "loginid": "string",
  • "role": "string",
  • "firstTimeLogin": true,
  • "is_org_admin": true,
  • "signup_time": "2019-08-24T14:15:22Z"
}

Validate OAuth Token

Validates an Azure B2C OAuth token and returns user details. On first-time login, creates a new user profile from token claims and initializes default consents and screeners. On subsequent logins, retrieves the existing user profile.

Used when:

  • After successful Azure B2C authentication
  • To verify token validity and retrieve user identity

Common errors:

  • 401: Invalid or expired OAuth token
  • 400: Malformed request or missing token
Authorizations:
None

Responses

Response samples

Content type
application/json
{
  • "message": "Valid Token!",
  • "userid": "string",
  • "loginid": "string",
  • "role": "string",
  • "firstTimeLogin": true,
  • "is_org_admin": true,
  • "signup_time": "2019-08-24T14:15:22Z"
}