github / github/platform-samples

Add query that lists SAML external identities for an Organization

未关闭
#168 27 条评论 22 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
2.2k
派生
1.9k
平均合并
7 天 19 小时
30 天内合并 PR
1

描述

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 ☝️

贡献指南

打开贡献指南

调研方向

Start by reviewing the graphql/queries directory and the issue discussion to decide whether this belongs there or as a standalone example. Use the provided organization SAML externalIdentities query as the reference, and consider the work complete when the example is placed in the agreed location and can be used to list the external identity GUID, nameId, login, and SSO URL.

由索引模型根据 Issue 内容生成。

评估

技术栈
graphql
领域
api, documentation
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。