Validates Okta access token and checks whether the claimed identity (email) corresponds to that of the token.

If valdation pass, returns token generated by Bezala (similar to /auth/token API method).

Use this token either by adding it to “Authorization” request header (preferred method) or to “token” request param.

Note: “Authorization” header value format is the following: “Bearer token”, request param value is just the token.

Params

Param name Description
email
required

User’s email (claimed identity)

Validations:

  • Must be a String

company_name
required

Company name

Validations:

  • Must be a String

okta_access_token
required

Access token received via Okta’s OAuth2

Validations:

  • Must be a String

okta_url
required

Company specific okta issuer url (okta_url) from Company settings

Validations:

  • Must be a String