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

Path Parameters

project_id*string

Request Body

application/json

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

OIDC device endpoint (by projectId, for an imported client_id)

curl -X POST "https://api.descope.com/oauth2/v1/string/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?