github / github/platform-samples
Add query that lists SAML external identities for an Organization
- Ngôn ngữ chính
- Shell
- Star
- 2.2k
- Fork
- 1.9k
- Merge trung bình
- 7 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
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 ☝️
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách xem xét thư mục graphql/queries và phần thảo luận của issue để quyết định liệu nội dung này thuộc về đó hay nên là một ví dụ độc lập. Sử dụng truy vấn SAML externalIdentities của tổ chức được cung cấp làm tài liệu tham chiếu, và coi công việc là hoàn tất khi ví dụ được đặt tại vị trí đã thống nhất và có thể được dùng để liệt kê GUID, nameId, login và SSO URL của external identity.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- graphql
- Lĩnh vực
- api, documentation
- Loại issue
- Tính năng
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100