Skip to main content

Retrieve OIDC tokens

Retrieve tokens issued by an OIDC provider as part of an SSO authentication. This endpoint expects a valid SlashID token container issued after an SSO authentication. The response will include all of the OIDC tokens that were issued by that SSO authentication.

Header Parameters
  • SlashID-OrgID string required

    The organization ID

    Example: af5fbd30-7ce7-4548-8b30-4cd59cb2aba1
  • SlashID-Token string required

    A valid JWT issued by SlashID

Responses

OK


Schema
  • meta object
  • pagination object
  • limit integer
  • offset integer
  • total_count int64
  • cursor_pagination object

    Cursors are opaque. Follow the tokens the server returns; never construct, parse or modify one.

  • limit integer
  • next_cursor string

    Opaque token addressing the next page. Absent on the last page.

  • prev_cursor string

    Opaque token addressing the previous page. Absent on the first page.

  • last_cursor string

    Opaque token addressing the final page directly, so a client can jump to the end without a total count.

  • total_count int64

    Total number of matching items. Returned on the FIRST page only; clients cache it for the remainder of the walk.

  • errors object[]
  • httpcode integer
  • message 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.