Skip to content

Conversation

@kevinAlbs
Copy link
Contributor

@kevinAlbs kevinAlbs commented Nov 19, 2025

PYTHON-5647

Summary

Extend OIDC ALLOWED_HOSTS with more Atlas host patterns.

Intended as a reference for the specification change.

Changes in this PR

Add the following patterns to ALLOWED_HOSTS:

  • *.mongo.com
  • *.mongodbgov.net

Testing Plan

A one-off test was performed with this script by modifying /etc/hosts to override DNS. This PR does not propose CI tests given the small scope of the change.

Checklist

Checklist for Author

  • [ ] Did you update the changelog (if necessary)?
  • Is the intention of the code captured in relevant tests? (Kinda: in the one-off test)
  • [ ] If there are new TODOs, has a related JIRA ticket been created?

Checklist for Reviewer @blink1073

  • Does the title of the PR reference a JIRA Ticket?
  • Do you fully understand the implementation? (Would you be comfortable explaining how this code works to someone else?)
  • Have you checked for spelling & grammar errors?
  • Is all relevant documentation (README or docstring) updated?

@kevinAlbs kevinAlbs marked this pull request as ready for review November 21, 2025 16:00
@kevinAlbs kevinAlbs requested a review from a team as a code owner November 21, 2025 16:00
@kevinAlbs kevinAlbs requested review from blink1073 and removed request for caseyclements November 21, 2025 16:01
Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@blink1073 blink1073 merged commit a9c0344 into mongodb:master Nov 21, 2025
67 of 73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants