users
v1
POST /api/v1/users/okta/
Changed onAuthenticate user (register first if the profile doesn't exist) via Okta in CLM.
The login algorithm is next:
- Redirect to okta auth page https://{{your domain}}.okta.com/oauth2/default/v1/authorize with correct client_id, redirect_url, scope, and state;
- After google auth user will be redirected to callback url;
- Pass the code from query params to this endpoint.
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"code": "code"
}Response
Example response
{
"access_token": "access_token",
"code": "code",
"id_token": "id_token"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking