docs: document roles_claim for WorkOS SSO RBAC#6331
Open
devin-ai-integration[bot] wants to merge 2 commits into
Open
docs: document roles_claim for WorkOS SSO RBAC#6331devin-ai-integration[bot] wants to merge 2 commits into
devin-ai-integration[bot] wants to merge 2 commits into
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Contributor
|
🌿 Preview your docs: https://fern-preview-devin-1784654155-workos-roles-claim.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the new optional
roles_claimfield on the WorkOS SSO auth config, added in fern-platform#13195. WorkOS SSO already surfaces the user's roles for RBAC;roles_claimlets a site source those roles from a custom access-token claim (e.g. a directory-group claim) instead of the default WorkOS organization role.authentication/sso.mdx: replaced the vague "tell Fern which claim to parse" sentence in the existing "Role-based access control" section with the concrete field name and behavior, plus a<ParamField>:changelog/2026-07-21.mdx: new changelog entry (tagsecurity) for the custom roles claim.Field name, default, and array/space-delimited parsing verified against
packages/commons/docs-auth/src/types.tsandextract-roles.tsin fern-platform#13195. EN pages only; no translations touched.Validation
pre-commit run --files ...(Vale): passed, 0 errors/warnings.fern check --warnings: 0 errors (remaining warnings are pre-existing and unrelated).Link to Devin session: https://app.devin.ai/sessions/0094ee90e65a48e09b997ae61522c82b