Skip to content

docs(hub): document Okta and Entra ID group directories - #1236

Merged
luxas merged 1 commit into
luxas-rbac-oidc-editsfrom
docs/idp-group-directory
Jul 31, 2026
Merged

docs(hub): document Okta and Entra ID group directories#1236
luxas merged 1 commit into
luxas-rbac-oidc-editsfrom
docs/idp-group-directory

Conversation

@tnthornton

Copy link
Copy Markdown
Member

Builds on this branch to document spec.directory on IdentityProvider — the block that lets Hub query an IdP for groups and users so admins can search for a group when writing a role binding instead of decoding a token to find its name.

What's here

features/identity/overview.md — new "Group directories" section. Covers the directory block, the four supported config kinds, the group/user query endpoints, and the caching and credential-redaction behavior. The subsection that matters most is Matching directory groups to role bindings: a directory group is named <idp-name>:<claim value> while a signed-in user's groups are <userInfoPrefix><claim value>, so bindings only apply when userInfoPrefix and groupClaimType are chosen to make those agree. Entra wants DirectoryID, Okta wants DisplayName.

features/identity/okta.md — all new directory content. Okta needs a second app (API Services) authenticating with a signed JWT assertion, since it won't mint Management API tokens for a client secret. Documents the key pair, the okta.groups.read / okta.users.read scopes, optional DPoP, the OktaConfiguration fields, and troubleshooting.

features/identity/entra-id.md — restructured to the same section order as Okta so the two read as a matched pair. Adds the claim-type guidance and search/caching behavior; tightens the group-overage explanation.

features/access-control/troubleshooting.md — one-line anchor fix. It linked to an Entra heading the restructure removed.

Reviewing

The Entra page was reordered, so the diff looks larger than the change actually is. Technical content is unchanged apart from the claim-type section and the search-behavior notes.

npm run build passes. Note it only passes with the features/identity/auth0 and features/identity/dex sidebar entries removed — those docs don't exist yet on this branch, and overview.md links them too. Pre-existing, left alone for you to resolve.

Adds a shared "Group directories" section to the Identity overview covering
spec.directory, the four supported config kinds, and the naming rule that
makes directory groups usable as role-binding subjects.

Adds directory configuration to the Okta page (API Services app,
private_key_jwt, JWKS key, okta.groups.read/okta.users.read scopes, optional
DPoP) and restructures the Entra page to the same shape.

Also repoints an Entra anchor link in the access control troubleshooting
page that the restructure would otherwise have broken.
@vercel

vercel Bot commented Jul 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Error Error Jul 31, 2026 4:22am

Request Review

@luxas luxas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@luxas
luxas merged commit d7033d9 into luxas-rbac-oidc-edits Jul 31, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants