Document JWT claim requirements for selfhosted OAuth applications#890
Closed
mhotan wants to merge 2 commits intopeeter/selfhosted-docsfrom
Closed
Document JWT claim requirements for selfhosted OAuth applications#890mhotan wants to merge 2 commits intopeeter/selfhosted-docsfrom
mhotan wants to merge 2 commits intopeeter/selfhosted-docsfrom
Conversation
When the identitytype JWT claim is absent (selfhosted with non-Okta
IdPs), the platform sends ExternalIdentity{subject} instead of
user_id or application_id. Update the identity resolution docs to
document all three proto types and clarify that identitytype is not
required for External authorization.
Update reference implementation to extract subject from whichever
proto type arrives, handle missing tokens from background workers.
Linear: https://linear.app/unionai/issue/FAB-189
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Add explicit table of required JWT claims (sub, identitytype, preferred_username) with warning that sub must be present in all tokens including client credentials. This documents the current behavior up to helm-charts 2026.4.0. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Deploying docs with
|
| Latest commit: |
7e3d719
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b32c3186.docs-dog.pages.dev |
| Branch Preview URL: | https://mike-jwt-claim-requirements.docs-dog.pages.dev |
1 task
Collaborator
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
subclaim is required on all OAuth application tokens, including client credentialsx-user-subject header not foundfailure whensubis missingidentitytypeas required for authorization, with pointer touseExternalIdentityalternativeDocuments current behavior up to helm-charts
2026.4.0/ cloudrelease/2026.4.2.Stacked on #885 (ExternalIdentity docs).
ref FAB-194