github / github/platform-samples
Add query that lists SAML external identities for an Organization
- Vorherrschende Sprache
- Shell
- Sterne
- 2.2k
- Forks
- 1.9k
- Ø Merge
- 7 T. 19 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
Business Plan hosted customers with SAML would like a way to programmatically query information about a GitHub user account's SAML identity. The following is a GraphQL query that accomplishes this for an Organization.
- [ ] Determine whether this is a standalone example for useful Business Plan hosted (SAML) queries or added under https://github.com/github/platform-samples/tree/master/graphql/queries
```
query {
organization(login: "LOGIN") {
samlIdentityProvider {
ssoUrl
externalIdentities(first: 100) {
edges {
node {
guid
samlIdentity {
nameId
}
user {
login
}
}
}
}
}
}
}
```
/cc @francisfuzz as you might be able to track down the author to see if they want to add this ☝️
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.