Repository navigation
A Microsoft Entra email counts as verified when its domain owner is - #1517
Merged
WaylandYang merged 2 commits intoNov 20, 2026
Merged
Conversation
…so listed domains sign in on first visit Signed-off-by: Bogdan Szabo <bogdan@re-cinq.com>
Contributor
Author
|
Hi @WaylandYang, a gentle nudge on this one for whenever you have a moment. There is no rush at all. I am glad to reshape or split it if that makes it easier to read. Thank you for the care you put into the last reviews, they made the changes better. |
evolv3ai
pushed a commit
to evolv3ai/utopia
that referenced
this pull request
Nov 20, 2026
…ntra domain-owner verification (deeplethe#1517) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Hi! A small one for deployments behind Microsoft Entra. We skipped the issue because it is so small; happy to open one or change the shape if you prefer.
Entra never sends
email_verified, so withUTOPIA_OIDC_ALLOWED_DOMAINSset nobody from a listed domain gets an account on first sign-in. Entra has an optional claim for the same purpose,xms_edov, which is true when the owner of the email's domain is verified.What changed
oidc_routes.rsreadsxms_edovas leniently asemail_verified, and either one counts as verified. The domain list is checked as before, and a token with neither claim still gets no account.Tested
One new unit test, which fails without the change. We have no Entra tenant to try it on yet, so the claim's shape comes from Microsoft's documentation. We will report back once we see real tokens.
Thank you for taking a look!