github / github/platform-samples
Add query that lists SAML external identities for an Organization
- Langage dominant
- Shell
- Étoiles
- 2.2k
- Forks
- 1.9k
- Merge moyen
- 7 j 19 h
- PR mergées (30 j)
- 1
Description
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 ☝️
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par examiner le répertoire graphql/queries et la discussion de l’issue afin de déterminer si cela doit y être placé ou s’il doit s’agir d’un exemple autonome. Utilisez comme référence la requête SAML externalIdentities de l’organisation fournie, et considérez le travail comme terminé lorsque l’exemple est placé à l’emplacement convenu et peut être utilisé pour répertorier le GUID, le nameId, le login et l’SSO URL de l’identité externe.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- graphql
- Domaine
- api, documentation
- Type d'issue
- Fonctionnalité
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100