Skip to content

Instantly share code, notes, and snippets.

@gitstua
Created June 26, 2023 10:28
Show Gist options
  • Save gitstua/e77345644331e2499ba1dbf4bbe4af6d to your computer and use it in GitHub Desktop.
Save gitstua/e77345644331e2499ba1dbf4bbe4af6d to your computer and use it in GitHub Desktop.

This query will display the SSO identity for users in an Org

{
  organization(login: "ORGNAME") {
    samlIdentityProvider {
      ssoUrl
      externalIdentities(first: 100) {
        edges {
          node {
            guid
            samlIdentity {
              nameId
            }
            user {
              login
            }
          }
        }
      }
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment