Query an OAuth token obtained through SSO with OIDC
Query a previously obtained OAuth access or refresh token for an IdP
Header Parameters
- SlashID-SdkVersion string
SDK version
Example: 1.4.1
- application/json
Request Body required
- token string required
SlashID token container
- token_ids string[]
The ID of the tokens to be returned. If not provided, all OIDC tokens from provided token will be returned.
- token_types string[]
Possible values: [
access_token,refresh_token]The type of token being revoked. If not provided, all OIDC tokens from provided token will be returned.
Responses
- 200
- 400
OK
- application/json
- Schema
- Example (from schema)
Schema
meta object
pagination object
limit integeroffset integertotal_count int64errors object[]
httpcode integermessage stringresult object
token stringOIDC token value
token_type stringPossible values: [
access_token,refresh_token]provider stringPossible values: [
google,onfido,shopify,generic]token_id stringToken ID
expiry date-timeToken expiry date
client_id stringToken's client ID
{
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total_count": 0
}
},
"errors": [
{
"httpcode": 0,
"message": "string"
}
],
"result": {
"token": "string",
"token_type": "access_token",
"provider": "google",
"token_id": "string",
"expiry": "2023-10-16",
"client_id": "string"
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
meta object
pagination object
limit integeroffset integertotal_count int64errors object[]
httpcode integermessage string
{
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total_count": 0
}
},
"errors": [
{
"httpcode": 0,
"message": "string"
}
]
}