SenseCrypt Docs
API ReferenceIdp

Oauth Token

POST/v1/idp/oidc/token

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/idp/oidc/token" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'grant_type=string'
{  "access_token": "string",  "id_token": "string",  "token_type": "Bearer",  "expires_in": 0,  "scope": "",  "refresh_token": "string"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}