Skip to content

Commit 004301c

Browse files
committed
Update authority.go
1 parent 882b562 commit 004301c

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

apps/internal/oauth/ops/authority/authority.go

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,12 @@ type jsonCaller interface {
4747
}
4848

4949
var aadTrustedHostList = map[string]bool{
50-
"login.windows.net": true, // Microsoft Azure Worldwide - Used in validation scenarios where host is not this list
51-
"login.chinacloudapi.cn": true, // Microsoft Azure China
52-
"login.microsoftonline.de": true, // Microsoft Azure Blackforest
53-
"login-us.microsoftonline.com": true, // Microsoft Azure US Government - Legacy
54-
"login.microsoftonline.us": true, // Microsoft Azure US Government
55-
"login.microsoftonline.com": true, // Microsoft Azure Worldwide
56-
"login.cloudgovapi.us": true, // Microsoft Azure US Government
50+
"login.windows.net": true, // Microsoft Azure Worldwide - Used in validation scenarios where host is not this list
51+
"login.partner.microsoftonline.cn": true, // Microsoft Azure China
52+
"login.microsoftonline.de": true, // Microsoft Azure Blackforest
53+
"login-us.microsoftonline.com": true, // Microsoft Azure US Government - Legacy
54+
"login.microsoftonline.us": true, // Microsoft Azure US Government
55+
"login.microsoftonline.com": true, // Microsoft Azure Worldwide
5756
}
5857

5958
// TrustedHost checks if an AAD host is trusted/valid.

0 commit comments

Comments
 (0)