We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c04af8d commit 21006efCopy full SHA for 21006ef
msal/authority.py
@@ -250,7 +250,9 @@ def has_valid_issuer(self):
250
authority_parsed.netloc == issuer_parsed.netloc):
251
return True
252
253
- # Case 5: Check if issuer host ends with any well-known B2C host (e.g., tenant.b2clogin.com)
+ # Case 5: Check if issuer host is a subdomain of a well-known B2C host
254
+ # e.g., tenant.b2clogin.com matches .b2clogin.com
255
+ # but fakeb2clogin.com does not
256
if any(issuer_host.endswith("." + h) for h in WELL_KNOWN_B2C_HOSTS):
257
258
0 commit comments