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" \
  -d '{
  "provider": "string",
  "loginOptions": {
    "stepup": false,
    "customClaims": {},
    "mfa": false,
    "ssoAppId": "string",
    "templateOptions": {
      "property1": "string",
      "property2": "string"
    },
    "locale": "string",
    "pkceChallenge": "string"
  },
  "implicit": true
}'

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

Was this helpful?