List SAML SSO authorizations for an organization
Changed onLists 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.
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/orgs/{org}/credential-authorizations
- Auth: none declared
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"
}
]Changes
- warning
added the new
GitHub app tokenenum value to the/response property for the response status - warning
added the new
OAuth app tokenenum value to the/response property for the response status - warning
added the new
SSH keyenum value to the/response property for the response status - warning
added the new
personal access tokenenum value to the/response property for the response status
- warning