Add allowedDomains to Microsoft connector. - #3515
Open
maordavidov wants to merge 2 commits into
Open
Conversation
The existing Microsoft connector does not support allowedDomains like Google connector or other connectors allows.
govulncheck reported 11 called vulnerabilities in the Go standard library against the go 1.25.8 directive. All are fixed by 1.25.12: GO-2026-5856 crypto/tls GO-2026-5039 net/textproto GO-2026-5037 crypto/x509 GO-2026-4982 html/template GO-2026-4980 html/template GO-2026-4971 net GO-2026-4947 crypto/x509 GO-2026-4946 crypto/x509 GO-2026-4918 net/http GO-2026-4870 crypto/tls GO-2026-4865 html/template govulncheck ./... is now clean for called symbols. Co-Authored-By: Claude Opus 5 (1M context) <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.
The existing Microsoft connector does not support allowedDomains like Google connector or other connectors allows.
Overview
The existing Microsoft connector does not support allowedDomains like Google connector or other connectors.
What this PR does / why we need it
Microsoft connector supports too-open or too-close scenarios (either all organizations/schools or all users or on the other hand only one specific tenant). Our organization needs to approve a list of domains like Google connector supports.
This PR adds the logic to verify the specific domain is approved to receive a token from Dex.
Special notes for your reviewer