Skip to content

docs(deploy): Microsoft Entra ID walkthrough (oauth2-proxy header mode)#2139

Open
dosenr wants to merge 1 commit into
omnigent-ai:mainfrom
dosenr:docs/entra-id-oauth2-proxy-walkthrough
Open

docs(deploy): Microsoft Entra ID walkthrough (oauth2-proxy header mode)#2139
dosenr wants to merge 1 commit into
omnigent-ai:mainfrom
dosenr:docs/entra-id-oauth2-proxy-walkthrough

Conversation

@dosenr

@dosenr dosenr commented Jul 7, 2026

Copy link
Copy Markdown

Related issue

N/A (docs addition; no tracking issue exists for Entra deploy docs)

Summary

The Generic OIDC section lists Entra ID as a supported issuer, but the server hard-rejects OIDC sign-ins without a verified email claim and Entra ID tokens do not include email_verified by default, so native OIDC sign-in with Entra fails. This adds a note stating that in the OIDC section, and documents the working path as a walkthrough in the Header-proxy section: oauth2-proxy with Entra ID.

The walkthrough covers the app registration, the v2.0 tenant issuer URL, and the non-obvious OAUTH2_PROXY_OIDC_EMAIL_CLAIM=preferred_username setting (Entra frequently omits the email claim; guest accounts carry a non-email UPN, noted). It also gives oauth2-proxy its first config example in these docs; it is the first proxy the header-mode section names.

Test Plan

Docs only; no code paths changed. The configuration is the one running in our production deployment (oauth2-proxy 7.x, Entra ID single tenant, header mode).

Demo

N/A (documentation).

Type of change

  • Documentation

Changelog

Added a Microsoft Entra ID deploy walkthrough (oauth2-proxy header mode).

…e) + native-OIDC caveat

Entra ID tokens do not carry email_verified by default, so native OIDC
sign-in is hard-rejected; the docs listed Entra under Generic OIDC with
no working path. Adds the oauth2-proxy header-mode walkthrough (v2.0
tenant issuer, the preferred_username email-claim quirk, guest-UPN
caveat, header-strip behavior) and a note in the OIDC section pointing
to it.

Signed-off-by: Robert Dosen <robert.dosen@gmail.com>
@github-actions github-actions Bot added the size/M Pull request size: M label Jul 7, 2026
@github-actions github-actions Bot requested a review from PattaraS July 7, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Pull request size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants