POST
/v1/auth/oauth/native/start

Starts a full OAuth flow using native APIs

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<Project ID\>

Try it

/v1/auth/oauth/native/start

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

providerstring

loginOptionsobject

implicitboolean

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/auth/oauth/native/start" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <Project ID>" \
  -d '{
  "provider": "string",
  "loginOptions": {
    "stepup": false,
    "customClaims": {},
    "mfa": false,
    "ssoAppId": "string",
    "templateOptions": {
      "property1": "string",
      "property2": "string"
    },
    "locale": "string",
    "pkceChallenge": "string",
    "revokeOtherSessions": true
  },
  "implicit": true
}'

{
  "clientId": "string",
  "stateId": "string",
  "nonce": "string",
  "implicit": true
}

Was this helpful?