OAuth2 API
This request is used by the issuer backend to get a Thales authorization token.
Random identifier used to correlate API calls in one use case. Do not derive it from sensitive personal data. Use it only for logging and troubleshooting.
^[A-Za-z0-9_-]{1,64}$Defines the OAuth 2.0 flow. Set this value to urn:ietf:params:oauth:grant-type:jwt-bearer.
The complete JWT assertion. See Get OAuth2.0 access token for JWT generation details. The JWT must include iss, the issuer ID used to find the provisioned public key, and exp, an expiration time no more than 15 minutes from issuance. Use the ES256 algorithm.
Default allowed response
The access token used to call D1 APIs.
ey...HRT6LOON7wRemaining lifetime of the access token, in seconds.
900Scope of the access token used to call D1 APIs.
d1-api:account:full d1-api:consumer:readType of access token used to call D1 APIs.
BearerBad request
POST /authz/v1/oauth2/token HTTP/1.1
Host: api.d1.thalescloud.io
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 79
"grant_type='urn:ietf:params:oauth:grant-type:jwt-bearer'&assertion='text'"{
"access_token": "ey...HRT6LOON7w",
"expires_in": 900,
"scope": "d1-api:account:full d1-api:consumer:read",
"token_type": "Bearer"
}Last updated
Was this helpful?