Skip to content

Commit ba05ead

Browse files
authored
Revert "status (#36595)" (#36603)
This reverts commit 2adb81d.
1 parent dd76efa commit ba05ead

9 files changed

Lines changed: 30 additions & 30 deletions

File tree

aspnetcore/blazor/call-web-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ Example:
901901
```json
902902
"DownstreamApi": {
903903
"BaseUrl": "https://localhost:7277",
904-
"Scopes": [ "api://aaaabbbb-0000-cccc-1111-dddd2222eeee/Weather.Get" ]
904+
"Scopes": [ "api://11112222-bbbb-3333-cccc-4444dddd5555/Weather.Get" ]
905905
}
906906
```
907907

aspnetcore/blazor/security/blazor-web-app-with-entra.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ The following examples use an Application (Client) Id of `11112222-bbbb-3333-ccc
173173
ME-ID tenant example:
174174

175175
```csharp
176-
jwtOptions.Audience = "api://aaaabbbb-0000-cccc-1111-dddd2222eeee";
176+
jwtOptions.Audience = "api://11112222-bbbb-3333-cccc-4444dddd5555";
177177
```
178178

179179
Microsoft Entra External ID tenant:
@@ -259,15 +259,15 @@ builder.Services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme)
259259
{
260260
configOptions.BaseUrl = "https://localhost:7277";
261261
configOptions.Scopes =
262-
["api://aaaabbbb-0000-cccc-1111-dddd2222eeee/Weather.Get"];
262+
["api://11112222-bbbb-3333-cccc-4444dddd5555/Weather.Get"];
263263
})
264264
.AddDistributedTokenCaches();
265265
```
266266

267267
Example:
268268

269269
```csharp
270-
List<string> scopes = ["api://aaaabbbb-0000-cccc-1111-dddd2222eeee/Weather.Get"];
270+
List<string> scopes = ["api://11112222-bbbb-3333-cccc-4444dddd5555/Weather.Get"];
271271
```
272272

273273
### Configuration for Microsoft Entra External ID
@@ -324,15 +324,15 @@ builder.Services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme)
324324
.AddDownstreamApi("DownstreamApi", configOptions =>
325325
{
326326
configOptions.BaseUrl = "https://localhost:7277";
327-
configOptions.Scopes = ["api://aaaabbbb-0000-cccc-1111-dddd2222eeee/Weather.Get"];
327+
configOptions.Scopes = ["api://11112222-bbbb-3333-cccc-4444dddd5555/Weather.Get"];
328328
})
329329
.AddDistributedTokenCaches();
330330
```
331331

332332
Example:
333333

334334
```csharp
335-
List<string> scopes = ["api://aaaabbbb-0000-cccc-1111-dddd2222eeee/Weather.Get"];
335+
List<string> scopes = ["api://11112222-bbbb-3333-cccc-4444dddd5555/Weather.Get"];
336336
```
337337

338338
:::zone-end
@@ -469,7 +469,7 @@ The following examples use an Application (Client) Id of `11112222-bbbb-3333-ccc
469469
ME-ID tenant example:
470470

471471
```csharp
472-
jwtOptions.Audience = "api://aaaabbbb-0000-cccc-1111-dddd2222eeee";
472+
jwtOptions.Audience = "api://11112222-bbbb-3333-cccc-4444dddd5555";
473473
```
474474

475475
Microsoft Entra External ID tenant:
@@ -548,7 +548,7 @@ builder.Services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme)
548548
.AddDownstreamApi("DownstreamApi", configOptions =>
549549
{
550550
configOptions.BaseUrl = "https://localhost:7277";
551-
configOptions.Scopes = ["api://aaaabbbb-0000-cccc-1111-dddd2222eeee/Weather.Get"];
551+
configOptions.Scopes = ["api://11112222-bbbb-3333-cccc-4444dddd5555/Weather.Get"];
552552
})
553553
.AddDistributedTokenCaches();
554554
```
@@ -601,7 +601,7 @@ builder.Services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme)
601601
.AddDownstreamApi("DownstreamApi", configOptions =>
602602
{
603603
configOptions.BaseUrl = "https://localhost:7277";
604-
configOptions.Scopes = ["api://aaaabbbb-0000-cccc-1111-dddd2222eeee/Weather.Get"];
604+
configOptions.Scopes = ["api://11112222-bbbb-3333-cccc-4444dddd5555/Weather.Get"];
605605
})
606606
.AddDistributedTokenCaches();
607607
```
@@ -789,7 +789,7 @@ Example:
789789
},
790790
"DownstreamApi": {
791791
"BaseUrl": "https://localhost:7277",
792-
"Scopes": ["api://aaaabbbb-0000-cccc-1111-dddd2222eeee/Weather.Get"]
792+
"Scopes": ["api://11112222-bbbb-3333-cccc-4444dddd5555/Weather.Get"]
793793
}
794794
```
795795

aspnetcore/blazor/security/blazor-web-app-with-oidc.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,12 @@ jwtOptions.Audience = "{APP ID URI}";
193193
> [!NOTE]
194194
> When using Microsoft Entra ID, match the value to just the path of the **Application ID URI** configured when adding the `Weather.Get` scope under **Expose an API** in the Entra or Azure portal. Don't include the scope name, "`Weather.Get`," in the value.
195195
196-
The format of the Audience depends on the type of tenant in use. The following examples for Microsoft Entra ID use a Tenant ID of `contoso` and a Client ID of `ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0`.
196+
The format of the Audience depends on the type of tenant in use. The following examples for Microsoft Entra ID use a Tenant ID of `contoso` and a Client ID of `11112222-bbbb-3333-cccc-4444dddd5555`.
197197

198198
ME-ID tenant App ID URI example:
199199

200200
```csharp
201-
jwtOptions.Audience = "api://ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0";
201+
jwtOptions.Audience = "api://11112222-bbbb-3333-cccc-4444dddd5555";
202202
```
203203

204204
AAD B2C tenant App ID URI example:
@@ -258,7 +258,7 @@ The format of the scope depends on the type of tenant in use. In the following e
258258
ME-ID tenant App ID URI example:
259259

260260
```csharp
261-
oidcOptions.Scope.Add("api://ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0/Weather.Get");
261+
oidcOptions.Scope.Add("api://11112222-bbbb-3333-cccc-4444dddd5555/Weather.Get");
262262
```
263263

264264
AAD B2C tenant App ID URI example:
@@ -541,12 +541,12 @@ jwtOptions.Audience = "{APP ID URI}";
541541
> [!NOTE]
542542
> When using Microsoft Entra ID, match the value to just the path of the **Application ID URI** configured when adding the `Weather.Get` scope under **Expose an API** in the Entra or Azure portal. Don't include the scope name, "`Weather.Get`," in the value.
543543
544-
The format of the Audience depends on the type of tenant in use. The following examples for Microsoft Entra ID use a Tenant ID of `contoso` and a Client ID of `ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0`.
544+
The format of the Audience depends on the type of tenant in use. The following examples for Microsoft Entra ID use a Tenant ID of `contoso` and a Client ID of `11112222-bbbb-3333-cccc-4444dddd5555`.
545545

546546
ME-ID tenant App ID URI example:
547547

548548
```csharp
549-
jwtOptions.Audience = "api://ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0";
549+
jwtOptions.Audience = "api://11112222-bbbb-3333-cccc-4444dddd5555";
550550
```
551551

552552
AAD B2C tenant App ID URI example:
@@ -888,12 +888,12 @@ jwtOptions.Audience = "{APP ID URI}";
888888
> [!NOTE]
889889
> When using Microsoft Entra ID, match the value to just the path of the **Application ID URI** configured when adding the `Weather.Get` scope under **Expose an API** in the Entra or Azure portal. Don't include the scope name, "`Weather.Get`," in the value.
890890
891-
The format of the Audience depends on the type of tenant in use. The following examples for Microsoft Entra ID use a Tenant ID of `contoso` and a Client ID of `ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0`.
891+
The format of the Audience depends on the type of tenant in use. The following examples for Microsoft Entra ID use a Tenant ID of `contoso` and a Client ID of `11112222-bbbb-3333-cccc-4444dddd5555`.
892892

893893
ME-ID tenant App ID URI example:
894894

895895
```csharp
896-
jwtOptions.Audience = "api://ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0";
896+
jwtOptions.Audience = "api://11112222-bbbb-3333-cccc-4444dddd5555";
897897
```
898898

899899
AAD B2C tenant App ID URI example:
@@ -1005,7 +1005,7 @@ The format of the scope depends on the type of tenant in use. In the following e
10051005
ME-ID tenant App ID URI example:
10061006

10071007
```csharp
1008-
oidcOptions.Scope.Add("api://ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0/Weather.Get");
1008+
oidcOptions.Scope.Add("api://11112222-bbbb-3333-cccc-4444dddd5555/Weather.Get");
10091009
```
10101010

10111011
AAD B2C tenant App ID URI example:

aspnetcore/blazor/security/includes/authorize-client-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
> If you don't have the authority to grant admin consent to the tenant in the last step of **API permissions** configuration because consent to use the app is delegated to users, then you must take the following additional steps:
33
>
44
> * The app must use a [trusted publisher domain](/entra/identity-platform/howto-configure-publisher-domain).
5-
> * In the **`Server`** app's configuration in the Azure portal, select **Expose an API**. Under **Authorized client applications**, select the button to **Add a client application**. Add the **`Client`** app's Application (client) ID (for example, `ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0`).
5+
> * In the **`Server`** app's configuration in the Azure portal, select **Expose an API**. Under **Authorized client applications**, select the button to **Add a client application**. Add the **`Client`** app's Application (client) ID (for example, `11112222-bbbb-3333-cccc-4444dddd5555`).

aspnetcore/blazor/security/includes/troubleshoot-wasm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ Example JWT decoded by the tool for an app that authenticates against Azure AAD
210210
"exp": 1610059429,
211211
"nbf": 1610055829,
212212
"ver": "1.0",
213-
"iss": "https://mysiteb2c.b2clogin.com/ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0/v2.0/",
213+
"iss": "https://mysiteb2c.b2clogin.com/11112222-bbbb-3333-cccc-4444dddd5555/v2.0/",
214214
"sub": "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
215215
"aud": "00001111-aaaa-2222-bbbb-3333cccc4444",
216216
"nonce": "bbbb0000-cccc-1111-dddd-2222eeee3333",

aspnetcore/blazor/security/webassembly/hosted-with-azure-active-directory-b2c.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Register an AAD B2C app for the *Server API app*:
4646

4747
Record the following information:
4848

49-
* *Server API app* Application (client) ID (for example, `ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0`)
49+
* *Server API app* Application (client) ID (for example, `00001111-aaaa-2222-bbbb-3333cccc4444`)
5050
* AAD B2C instance (for example, `https://contoso.b2clogin.com/`, which includes the trailing slash). The instance is the scheme and host of an Azure B2C app registration, which can be found by opening the **Endpoints** window from the **App registrations** page in the Azure portal.
5151
* Primary/Publisher/Tenant domain (for example, `contoso.onmicrosoft.com`): The domain is available as the **Publisher domain** in the **Branding** blade of the Azure portal for the registered app.
5252

@@ -120,8 +120,8 @@ dotnet new blazorwasm -au IndividualB2C --aad-b2c-instance "{AAD B2C INSTANCE}"
120120
| `{PROJECT NAME}` | &mdash; | `BlazorSample` |
121121
| `{CLIENT APP CLIENT ID}` | Application (client) ID for the **:::no-loc text="Client":::** app | `11112222-bbbb-3333-cccc-4444dddd5555` |
122122
| `{DEFAULT SCOPE}` | Scope name | `API.Access` |
123-
| `{SERVER API APP CLIENT ID}` | Application (client) ID for the **:::no-loc text="Server":::** app | `ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0` |
124-
| `{SERVER API APP ID URI GUID}` | Application ID URI GUID | `ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0` (GUID ONLY, matches the `{SERVER API APP CLIENT ID}`) |
123+
| `{SERVER API APP CLIENT ID}` | Application (client) ID for the **:::no-loc text="Server":::** app | `00001111-aaaa-2222-bbbb-3333cccc4444` |
124+
| `{SERVER API APP ID URI GUID}` | Application ID URI GUID | `00001111-aaaa-2222-bbbb-3333cccc4444` (GUID ONLY, matches the `{SERVER API APP CLIENT ID}`) |
125125
| `{SIGN UP OR SIGN IN POLICY}` | Sign-up/sign-in user flow | `B2C_1_signupsignin1` |
126126
| `{TENANT DOMAIN}` | Primary/Publisher/Tenant domain | `contoso.onmicrosoft.com` |
127127

aspnetcore/blazor/security/webassembly/hosted-with-microsoft-entra-id.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Register an ME-ID app for the *Server API app*:
4949

5050
Record the following information:
5151

52-
* *Server API app* Application (client) ID (for example, `ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0`)
52+
* *Server API app* Application (client) ID (for example, `00001111-aaaa-2222-bbbb-3333cccc4444`)
5353
* Directory (tenant) ID (for example, `aaaabbbb-0000-cccc-1111-dddd2222eeee`)
5454
* ME-ID Primary/Publisher/Tenant domain (for example, `contoso.onmicrosoft.com`): The domain is available as the **Publisher domain** in the **Branding** blade of the Azure portal for the registered app.
5555

@@ -68,7 +68,7 @@ In **Expose an API**:
6868

6969
Record the following information:
7070

71-
* App ID URI GUID (for example, record `00001111-aaaa-2222-bbbb-3333cccc4444` from the App ID URI of `api://ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0`)
71+
* App ID URI GUID (for example, record `00001111-aaaa-2222-bbbb-3333cccc4444` from the App ID URI of `api://00001111-aaaa-2222-bbbb-3333cccc4444`)
7272
* Scope name (for example, `API.Access`)
7373

7474
> [!IMPORTANT]
@@ -125,8 +125,8 @@ dotnet new blazorwasm -au SingleOrg --api-client-id "{SERVER API APP CLIENT ID}"
125125
| `{PROJECT NAME}` | &mdash; | `BlazorSample` |
126126
| `{CLIENT APP CLIENT ID}` | Application (client) ID for the **:::no-loc text="Client":::** app | `11112222-bbbb-3333-cccc-4444dddd5555` |
127127
| `{DEFAULT SCOPE}` | Scope name | `API.Access` |
128-
| `{SERVER API APP CLIENT ID}` | Application (client) ID for the *Server API app* | `ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0` |
129-
| `{SERVER API APP ID URI GUID}` | Application ID URI GUID | `ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0` (GUID ONLY, matches the `{SERVER API APP CLIENT ID}`) |
128+
| `{SERVER API APP CLIENT ID}` | Application (client) ID for the *Server API app* | `00001111-aaaa-2222-bbbb-3333cccc4444` |
129+
| `{SERVER API APP ID URI GUID}` | Application ID URI GUID | `00001111-aaaa-2222-bbbb-3333cccc4444` (GUID ONLY, matches the `{SERVER API APP CLIENT ID}`) |
130130
| `{TENANT DOMAIN}` | Primary/Publisher/Tenant domain | `contoso.onmicrosoft.com` |
131131
| `{TENANT ID}` | Directory (tenant) ID | `aaaabbbb-0000-cccc-1111-dddd2222eeee` |
132132

@@ -366,7 +366,7 @@ Example default access token scope:
366366

367367
```csharp
368368
options.ProviderOptions.DefaultAccessTokenScopes.Add(
369-
"api://ffffffff-eeee-dddd-cccc-bbbbbbbbbbb0/API.Access");
369+
"api://00001111-aaaa-2222-bbbb-3333cccc4444/API.Access");
370370
```
371371

372372
For more information, see the following sections of the *Additional scenarios* article:

aspnetcore/blazor/security/webassembly/standalone-with-identity/account-confirmation-and-password-recovery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ In the preceding example:
174174
Example:
175175

176176
```json
177-
"TenantId": "aaaabbbb-0000-cccc-1111-dddd2222eeee",
177+
"TenantId": "00001111-aaaa-2222-bbbb-3333cccc4444",
178178
"VaultUri": "https://contoso.vault.azure.net/"
179179
```
180180

aspnetcore/migration/fx-to-core/inc/remote-app-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To enable the ASP.NET Core app to communicate with the ASP.NET app, it's necessa
3434

3535
You need to configure two configuration values in both applications:
3636

37-
* `RemoteAppApiKey`: A key (required to be parseable as a [GUID](/dotnet/api/system.guid)) that is shared between the two applications. This should be a GUID value like `aaaabbbb-0000-cccc-1111-dddd2222eeee`.
37+
* `RemoteAppApiKey`: A key (required to be parseable as a [GUID](/dotnet/api/system.guid)) that is shared between the two applications. This should be a GUID value like `12345678-1234-1234-1234-123456789012`.
3838
* `RemoteAppUri`: The URI of the remote ASP.NET Framework application (only required in the ASP.NET Core application configuration). This should be the full URL where the ASP.NET Framework app is hosted, such as `https://localhost:44300` or `https://myapp.example.com`.
3939

4040
## Configure ASP.NET Framework Application

0 commit comments

Comments
 (0)