Repository navigation
docs(oauth): document verified-email linking, GitHub emails, and OpenID Connect providers - #48
Merged
Merged
Conversation
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.
Documents the OAuth changes released in seamless-auth-api v0.16.0.
Includes #47's commit (Choosing A Provider), because these sections extend it. If #47 merges first, that commit drops out of this diff; otherwise merging this lands both and #47 can be closed.
Account linking
email_verified: true, whateverrequireEmailVerifiedsays. Already-linked identities keep signing in.oauth_email_not_verified, now in the debug table.GitHub
GitHub's
/userhas no verification claim, so a GitHub provider (https://api.github.com/useror GitHub Enterprise Server's/api/v3/user) also reads/user/emailsand uses the address GitHub lists as verified. Needs theuser:emailscope.OpenID Connect and Entra ID
issuer,jwksUri,externalIdSource,externalIdJsonPath.xms_edovoptional claim under Token configuration, and linking users imported withseamless migrate(sourceentra-id) byoid.oauth_invalid_id_tokenin the debug table.Checks
npm run lint,npm run typecheck(0 errors),npm run buildpass.