👋 We've unified all of GitHub's product documentation in one place! Check out the content for REST API, GraphQL API, and Developers. Learn more on the GitHub blog.

Viewing and managing a user's SAML access to your enterprise account

You can view and revoke an enterprise member's linked identity, active sessions, and authorized credentials.

Enterprise owners can view and manage a member's SAML access to an organization.

Enterprise accounts are available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see "About enterprise accounts."

In this article

About SAML access to your enterprise account

When you enable SAML single sign-on for your enterprise account, each enterprise member can link their external identity on your identity provider (IdP) to their existing GitHub account. To access each organization's resources on GitHub, the member must have an active SAML session in their browser. To access each organization's protected resources using the API and Git, the member must use a personal access token or SSH key that the member has authorized for use with the organization. Enterprise owners can view and revoke a member's linked identity, active sessions, or authorized credentials at any time.

Viewing and revoking a linked identity

You can view the single sign-on identity that a member has linked to their GitHub account. When available, the entry will include SCIM data. For more information, see "About SCIM."

If a member links the wrong identity to their GitHub account, you can revoke the linked identity to allow the member to try again.

  1. Navigate to your enterprise account by visiting https://github.com/enterprises/ENTERPRISE-NAME, replacing ENTERPRISE-NAME with your enterprise account's name.
  2. In the enterprise account sidebar, click People.
    People tab in the enterprise account sidebar
  3. Click on the name of the member whose linked identity you'd like to view or revoke.
  4. In the left sidebar, click SAML identity linked.
    SAML identity linked
  5. Under "Linked SSO identity", view the linked SSO identity for the member.
  6. To revoke the linked identity, to the right of the identity, click Revoke.
    Revoke button
  7. Read the information, then click Revoke external identity.

Viewing and revoking an active SAML session

  1. Navigate to your enterprise account by visiting https://github.com/enterprises/ENTERPRISE-NAME, replacing ENTERPRISE-NAME with your enterprise account's name.
  2. In the enterprise account sidebar, click People.
    People tab in the enterprise account sidebar
  3. Click on the name of the member whose SAML session you'd like to view or revoke.
  4. In the left sidebar, click SAML identity linked.
    SAML identity linked
  5. Under "Active SAML sessions", view the active SAML sessions for the member.
  6. To revoke a session, to the right of the session you'd like to revoke, click Revoke.
    Revoke button

Viewing and revoking authorized credentials

You can see each personal access token and SSH key that a member has authorized for API and Git access. Only the last several characters of each token or key are visible. If necessary, work with the member to determine which credentials you should revoke.

  1. Navigate to your enterprise account by visiting https://github.com/enterprises/ENTERPRISE-NAME, replacing ENTERPRISE-NAME with your enterprise account's name.
  2. In the enterprise account sidebar, click People.
    People tab in the enterprise account sidebar
  3. Click on the name of the member whose authorized credentials you'd like to view or revoke.
  4. In the left sidebar, click SAML identity linked.
    SAML identity linked
  5. Under "Authorized credentials", view the authorized credentials for the member.
  6. To revoke credentials, to the right of the credentials you'd like to revoke, click Revoke.
    Revoke button
  7. Read the information, then click I understand, revoke access for this token.

Further reading

Ask a human

Can't find what you're looking for?

Contact us