Skip to content

Commit

Permalink
cilogon: make allowed_domains list of strings lowered
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Nov 22, 2023
1 parent 48056dd commit 4c869c0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions oauthenticator/cilogon.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,11 @@ def _validate_allowed_idps(self, proposal):
"See https://cilogon.org/idplist for the list of EntityIDs of each IDP."
)

# Make allowed_domains lowercase
idp_config["allowed_domains"] = [
ad.lower() for ad in idp_config.get("allowed_domains", [])
]

return idps

skin = Unicode(
Expand Down

0 comments on commit 4c869c0

Please sign in to comment.