Authentication API
Request an Access Token
Use this endpoint to get an access token for a user or client.
You can only use one authentication method per request — pick the one that fits your use case:
- For users: Authenticate with username, password, and grantType = password.
- For machine-to-machine (M2M): Use clientId, clientSecret, and set grantType = client_credentials.
post/v1/login/oauth/access_token
Request
- Base URLhttps://identity.sandbox.lerian.net
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Returns the access credentials on successful authentication.
If the user has MFA enabled, the response will contain an MFAChallengeResponse instead, with a temporary mfaToken to complete the verification flow through the MFA endpoints.
Changes
No recorded changes to this operation across all 1 revision of this API.