API ReferenceApplications
POST
/{ssoAppId}/oauth2/v1/device

Path Parameters

ssoAppId*string

Request Body

application/json

ssoAppId?string
client_id?string
scope?string
audience?string
project_id?string
dpop_jkt?string

OIDC device endpoint (sso app)

curl -X POST "https://api.descope.com/string/oauth2/v1/device" \  -H "Content-Type: application/json" \  -d '{}'
{  "device_code": "string",  "user_code": "string",  "verification_uri": "string",  "verification_uri_complete": "string",  "expires_in": 0,  "interval": 0}
export interface Response {device_code?: stringuser_code?: stringverification_uri?: stringverification_uri_complete?: stringexpires_in?: numberinterval?: number}
Was this helpful?