POST
/v1/auth/oauth/native/start

Authorization

AuthorizationRequiredBearer <token>

In: header

Request Body

application/jsonRequired
providerstring
loginOptionsobject
implicitboolean
rawResponseboolean
curl -X POST "https://api.descope.com/v1/auth/oauth/native/start" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "provider": "string",
    "loginOptions": {
      "stepup": false,
      "customClaims": {},
      "mfa": false,
      "ssoAppId": "string",
      "templateOptions": {
        "property1": "string",
        "property2": "string"
      },
      "locale": "string",
      "pkceChallenge": "string",
      "revokeOtherSessions": true
    },
    "implicit": true,
    "rawResponse": true
  }'

OK

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

Was this helpful?