Query tokens obtained through SSO with OIDC
Query the OIDC tokens for a person issued during SSO authentications.
Header Parameters
- SlashID-OrgID string requiredThe organization ID Example: af5fbd30-7ce7-4548-8b30-4cd59cb2aba1
- application/json
Request Body required
- person_id string requiredPerson ID 
- authentication_ids string[]The IDs of the SSO OIDC authentications that issued the OIDC tokens. If not provided, all OIDC tokens for this person matching the specified types will be returned. 
- token_types string[]Possible values: [ access,refresh,id]The types of tokens to be returned. If not provided, all OIDC tokens for this person issued during the specified authentication(s) will be returned. 
- 200
- 400
OK
- application/json
- Schema
- Example (from schema)
Schema
- meta object- pagination objectlimit integeroffset integertotal_count int64
- errors object[]httpcode integermessage string
- result object[]token string- OIDC token value token_type string- Possible values: [ - access,- refresh,- id]expiry date-time- Token expiry date provider string- Possible values: [ - google,- github,- bitbucket,- gitlab,- facebook,- line,- azuread,- okta,- apple]client_id string- The client ID used to obtain the token authentication_id string- Authentication ID person_id string- Person ID organization_id string- extra_callback_values object- Set of additional key-value pairs passed by the provider on callback, together with the authorization code. 
{
  "meta": {
    "pagination": {
      "limit": 0,
      "offset": 0,
      "total_count": 0
    }
  },
  "errors": [
    {
      "httpcode": 0,
      "message": "string"
    }
  ],
  "result": [
    {
      "token": "string",
      "token_type": "access",
      "expiry": "2005-12-24T18:29:30.033157Z",
      "provider": "google",
      "client_id": "string",
      "authentication_id": "string",
      "person_id": "string",
      "organization_id": "string",
      "extra_callback_values": {}
    }
  ]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- meta object- pagination objectlimit integeroffset integertotal_count int64
- errors object[]httpcode integermessage string
{
  "meta": {
    "pagination": {
      "limit": 0,
      "offset": 0,
      "total_count": 0
    }
  },
  "errors": [
    {
      "httpcode": 0,
      "message": "string"
    }
  ]
}