Skip to main content

Single Sign On

Add SSO to integrate with enterprise IDPs using protocols such as SAML & OIDC.

Authentication API endpoints#


Authorize#

GET https://auth.levity.ai/oauth/authorize#

The GET /oauth/authorize endpoint can accept a sign-on request with the following url parameters:

  • client_id: The client id generated in the Levity app.
  • redirect_uri: The url to be redirected back to when the authentication request is processed.
  • response_type: code
  • scope: openid,profile,email

Get Access Token#

POST https://auth.levity.ai/oauth/token#

The POST /oauth/token endpoint can accept a token request with the following url parameters:

Body Parameters#
  • grant_type: The client id generated in the Levity app.
  • redirect_uri: The url to be redirected back to when the authentication request is processed.
  • code:
Header Fields#