Skip to content

Commit f4d75ca

Browse files
authored
Add V1/V2 STS token remarks (#655)
1 parent 4e9ebd5 commit f4d75ca

12 files changed

Lines changed: 36 additions & 12 deletions

File tree

10.0/BlazorWebAppEntraBff/MinimalApiJwt/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +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}
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
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.
1618
//
1719
jwtOptions.Authority = "{AUTHORITY}";
1820
//

10.0/BlazorWebAppEntraBffYarpAspire/MinimalApiJwt/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +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}
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
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.
1618
//
1719
jwtOptions.Authority = "{AUTHORITY}";
1820

10.0/BlazorWebAppOidcBffAuto/MinimalApiJwt/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
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: 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
13+
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.
14+
// For guidance on adopting V2 tokens and the corresponding authority URL format, see the article.
1315
//
1416
jwtOptions.Authority = "{AUTHORITY}";
1517
//

10.0/BlazorWebAppOidcBffServer/MinimalApiJwt/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
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: 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
13+
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.
14+
// For guidance on adopting V2 tokens and the corresponding authority URL format, see the article.
1315
//
1416
jwtOptions.Authority = "{AUTHORITY}";
1517
//

8.0/BlazorWebAppOidc/MinimalApiJwt/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
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: 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
13+
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.
14+
// For guidance on adopting V2 tokens and the corresponding authority URL format, see the article.
1315
//
1416
jwtOptions.Authority = "{AUTHORITY}";
1517
//

8.0/BlazorWebAppOidcBff/MinimalApiJwt/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +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}
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
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.
1618
//
1719
jwtOptions.Authority = "{AUTHORITY}";
1820
//

8.0/BlazorWebAppOidcServer/MinimalApiJwt/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
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: 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
13+
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.
14+
// For guidance on adopting V2 tokens and the corresponding authority URL format, see the article.
1315
//
1416
jwtOptions.Authority = "{AUTHORITY}";
1517
//

9.0/BlazorWebAppEntraBff/MinimalApiJwt/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
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: 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
13+
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.
14+
// For guidance on adopting V2 tokens and the corresponding authority URL format, see the article.
1315
//
1416
jwtOptions.Authority = "{AUTHORITY}";
1517
//

9.0/BlazorWebAppEntraBffYarpAspire/MinimalApiJwt/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +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}
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
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.
1618
//
1719
jwtOptions.Authority = "{AUTHORITY}";
1820
//

9.0/BlazorWebAppOidcBffAuto/MinimalApiJwt/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
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: 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
13+
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.
14+
// For guidance on adopting V2 tokens and the corresponding authority URL format, see the article.
1315
//
1416
jwtOptions.Authority = "{AUTHORITY}";
1517
//

0 commit comments

Comments
 (0)