Skip to content

Commit c1846c9

Browse files
authored
Add trailing slash to authority URLs (#657)
1 parent f4d75ca commit c1846c9

13 files changed

Lines changed: 17 additions & 14 deletions

File tree

10.0/BlazorWebAppEntraBff/MinimalApiJwt/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
// Authority format {AUTHORITY} matches the issurer (`iss`) of the JWT returned by the identity provider.
1212
//
13-
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}
13+
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}/
1414
// Authority format {AUTHORITY} for ME External ID tenant type: https://{DIRECTORY NAME}.ciamlogin.com/{TENANT ID}/v2.0
1515
// Authority format {AUTHORITY} for B2C tenant type: https://login.microsoftonline.com/{TENANT ID}/v2.0
1616
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.

10.0/BlazorWebAppEntraBffYarpAspire/MinimalApiJwt/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
// Authority format {AUTHORITY} matches the issurer (`iss`) of the JWT returned by the identity provider.
1212
//
13-
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}
13+
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}/
1414
// Authority format {AUTHORITY} for ME External ID tenant type: https://{DIRECTORY NAME}.ciamlogin.com/{TENANT ID}/v2.0
1515
// Authority format {AUTHORITY} for B2C tenant type: https://login.microsoftonline.com/{TENANT ID}/v2.0
1616
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.

10.0/BlazorWebAppOidcBffAuto/MinimalApiJwt/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
// Authority format {AUTHORITY} matches the issurer (`iss`) of the JWT returned by the identity provider.
99
//
10-
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}
10+
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}/
1111
// Authority format {AUTHORITY} for ME External ID tenant type: https://{DIRECTORY NAME}.ciamlogin.com/{TENANT ID}/v2.0
1212
// Authority format {AUTHORITY} for B2C tenant type: https://login.microsoftonline.com/{TENANT ID}/v2.0
1313
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.

10.0/BlazorWebAppOidcBffAutoYarpAspire/MinimalApiJwt/Program.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@
1010
//
1111
// Authority format '{AUTHORITY}' matches the issurer (`iss`) of the JWT returned by the identity provider.
1212
//
13-
// Authority format '{AUTHORITY}' for ME-ID tenant type: https://sts.windows.net/{TENANT ID}/
14-
// Authority format '{AUTHORITY}' for B2C tenant type: https://login.microsoftonline.com/{TENANT ID}/v2.0/
13+
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}/
14+
// Authority format {AUTHORITY} for ME External ID tenant type: https://{DIRECTORY NAME}.ciamlogin.com/{TENANT ID}/v2.0
15+
// Authority format {AUTHORITY} for B2C tenant type: https://login.microsoftonline.com/{TENANT ID}/v2.0
16+
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.
17+
// For guidance on adopting V2 tokens and the corresponding authority URL format, see the article.
1518
//
1619
jwtOptions.Authority = "{AUTHORITY}";
1720

10.0/BlazorWebAppOidcBffServer/MinimalApiJwt/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
// Authority format {AUTHORITY} matches the issurer (`iss`) of the JWT returned by the identity provider.
99
//
10-
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}
10+
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}/
1111
// Authority format {AUTHORITY} for ME External ID tenant type: https://{DIRECTORY NAME}.ciamlogin.com/{TENANT ID}/v2.0
1212
// Authority format {AUTHORITY} for B2C tenant type: https://login.microsoftonline.com/{TENANT ID}/v2.0
1313
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.

8.0/BlazorWebAppOidc/MinimalApiJwt/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
// Authority format {AUTHORITY} matches the issurer (`iss`) of the JWT returned by the identity provider.
99
//
10-
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}
10+
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}/
1111
// Authority format {AUTHORITY} for ME External ID tenant type: https://{DIRECTORY NAME}.ciamlogin.com/{TENANT ID}/v2.0
1212
// Authority format {AUTHORITY} for B2C tenant type: https://login.microsoftonline.com/{TENANT ID}/v2.0
1313
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.

8.0/BlazorWebAppOidcBff/MinimalApiJwt/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
// Authority format {AUTHORITY} matches the issurer (`iss`) of the JWT returned by the identity provider.
1212
//
13-
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}
13+
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}/
1414
// Authority format {AUTHORITY} for ME External ID tenant type: https://{DIRECTORY NAME}.ciamlogin.com/{TENANT ID}/v2.0
1515
// Authority format {AUTHORITY} for B2C tenant type: https://login.microsoftonline.com/{TENANT ID}/v2.0
1616
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.

8.0/BlazorWebAppOidcServer/MinimalApiJwt/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
// Authority format {AUTHORITY} matches the issurer (`iss`) of the JWT returned by the identity provider.
99
//
10-
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}
10+
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}/
1111
// Authority format {AUTHORITY} for ME External ID tenant type: https://{DIRECTORY NAME}.ciamlogin.com/{TENANT ID}/v2.0
1212
// Authority format {AUTHORITY} for B2C tenant type: https://login.microsoftonline.com/{TENANT ID}/v2.0
1313
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.

9.0/BlazorWebAppEntraBff/MinimalApiJwt/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
// Authority format {AUTHORITY} matches the issurer (`iss`) of the JWT returned by the identity provider.
99
//
10-
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}
10+
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}/
1111
// Authority format {AUTHORITY} for ME External ID tenant type: https://{DIRECTORY NAME}.ciamlogin.com/{TENANT ID}/v2.0
1212
// Authority format {AUTHORITY} for B2C tenant type: https://login.microsoftonline.com/{TENANT ID}/v2.0
1313
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.

9.0/BlazorWebAppEntraBffYarpAspire/MinimalApiJwt/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
// Authority format {AUTHORITY} matches the issurer (`iss`) of the JWT returned by the identity provider.
1212
//
13-
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}
13+
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}/
1414
// Authority format {AUTHORITY} for ME External ID tenant type: https://{DIRECTORY NAME}.ciamlogin.com/{TENANT ID}/v2.0
1515
// Authority format {AUTHORITY} for B2C tenant type: https://login.microsoftonline.com/{TENANT ID}/v2.0
1616
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.

0 commit comments

Comments
 (0)