docs(v2): OIDC discovery_url + claims_mapping and Azure AD B2C guide#413
Open
montaro wants to merge 2 commits into
Open
docs(v2): OIDC discovery_url + claims_mapping and Azure AD B2C guide#413montaro wants to merge 2 commits into
montaro wants to merge 2 commits into
Conversation
…D B2C guide Add documentation for the new per-provider OIDC options: - discovery_url: fetch the discovery document from a URL that differs from the token issuer (needed for Azure AD B2C, whose issuer is a tenant GUID while discovery is served from a policy-specific tenant-domain URL). - claims_mapping: JSON Pointer map for extracting user attributes from non-standard claims (e.g. B2C's emails array). Also adds a Login with Azure AD B2C guide covering setup and common pitfalls, updates the config reference table, and registers the guide in the nav. Signed-off-by: Ahmed Refaey <ahmed.refaey@scale.com> Co-authored-by: Cursor <cursoragent@cursor.com>
…rl-claims-mapping * origin/main: chore: add automated PR review workflow (flipt-io#417) docs(v2): document OIDC single logout (SLO) support (flipt-io#415) docs: add MCP server docs for v2 (flipt-io#416) # Conflicts: # docs/v2/configuration/authentication.mdx # docs/v2/configuration/overview.mdx
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.
Overview
Documents the two new per-provider OIDC options and adds a dedicated Azure AD B2C login guide. This pairs with an upcoming change in
flipt-io/fliptthat addsdiscovery_urlandclaims_mappingto the OIDC auth method.Why
Azure AD B2C is OIDC-compliant but has two behaviors that break the generic
oidcmethod today:issuerit reports (and puts in theissclaim) is the tenant GUID. The standard OIDC issuer check then fails.emailsarray rather than a stringemailclaim, soemail_matcheshas nothing to match against.Changes
v2/configuration/authentication.mdxdiscovery_url(fetch discovery from one URL, verify tokens againstissuer_url).claims_mapping(JSON Pointer extraction ofemail/name/picture/sub).v2/configuration/overview.mdx— addeddiscovery_urlandclaims_mappingrows to the OIDC config reference table.v2/guides/operations/authentication/login-with-azure-ad-b2c.mdx— new guide covering app registration, finding the issuer vs discovery URLs, a fullconfig.yml, and a troubleshooting section (404 discovery, issuer mismatch,email_matchesneeding claim mapping).docs.json— registered the new guide in the Authentication nav group..vale/styles/Flipt/spelling-exceptions.txt— addedb2candguid.Notes
vale/mint devlocally (deps not installed); prettier (2.8.8) was run on the changed files.Made with Cursor