List SAML SSO authorizations for an organization
Lists all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials can be personal access tokens, SSH keys, OAuth app access tokens, or user-to-server tokens from GitHub Apps that organization members have authorized for the organization. For more information, see About authentication with SAML single sign-on.
The authenticated user must be an organization owner to use this endpoint.
OAuth app tokens and personal access tokens (classic) need the read:org scope to use this endpoint.
Path parameters
The organization name. The name is not case sensitive.
Query parameters
The number of results per page (max 100). For more information, see "Using pagination in the REST API."
Page token
Limits the list of credentials authorizations for an organization to a specific login
Response
Response
Example response
[
{
"login": "monalisa",
"credential_id": 1,
"credential_type": "SSH key",
"token_last_eight": "12345678",
"credential_authorized_at": "2011-01-26T19:06:43Z",
"scopes": [
"user",
"repo"
],
"fingerprint": "jklmnop12345678",
"credential_accessed_at": "2011-01-26T19:06:43Z",
"authorized_credential_id": 12345678,
"authorized_credential_title": "my ssh key",
"authorized_credential_note": "my token"
}
]