ServicesApplicationsHTTP APIUnknown

Get_consent_request

GET
/api/apps/consent/{challenge}

Read the authorization bound to the authenticated first-party user and Organization.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Path Parameters

challenge*string

Response Body

Success

application/json
  1. response

The requested delegation. A challenge contains no access or refresh token.

client*

The verified OAuth client and callback shown by the consent application.

resource*string
scopes*array<string>
skip*boolean
subject*

The authenticated user and Organization bound to this authorization.

curl -X GET 'https://api.spiraldb.dev/api/apps/consent/string'
{  "client": {    "id": "string",    "loopbackOnly": true,    "managed": true,    "name": "string",    "publisher": "string",    "publisherName": "string",    "redirectHost": "string"  },  "resource": "string",  "scopes": [    "string"  ],  "skip": true,  "subject": {    "organizationId": "string",    "organizationName": "string",    "userId": "string"  }}