Skip to content

Commit 05cd151

Browse files
Merge pull request #35074 from dotnet/main
Merge to Live
2 parents f47d1c3 + 20e0c85 commit 05cd151

File tree

5 files changed

+33
-48
lines changed

5 files changed

+33
-48
lines changed

Diff for: aspnetcore/blazor/security/blazor-web-app-with-oidc.md

+30
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,16 @@ If using Visual Studio, you can confirm the secret is set by right-clicking the
8080

8181
The following <xref:Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions> configuration is found in the project's `Program` file on the call to <xref:Microsoft.Extensions.DependencyInjection.OpenIdConnectExtensions.AddOpenIdConnect%2A>:
8282

83+
:::moniker range=">= aspnetcore-9.0"
84+
85+
* <xref:Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions.PushedAuthorizationBehavior%2A>: Controls [Pushed Authorization Requests (PAR) support](xref:aspnetcore-9#openidconnecthandler-adds-support-for-pushed-authorization-requests-par). By default, the setting is to use PAR if the identity provider's discovery document (usually found at `.well-known/openid-configuration`) advertises support for PAR. If you wish to require PAR support for the app, you can assign a value of [`PushedAuthorizationBehavior.Require`](xref:Microsoft.AspNetCore.Authentication.OpenIdConnect.PushedAuthorizationBehavior). PAR isn't supported by Microsoft Entra, and there are no plans for Entra to ever support it in the future.
86+
87+
```csharp
88+
oidcOptions.PushedAuthorizationBehavior = PushedAuthorizationBehavior.UseIfAvailable;
89+
```
90+
91+
:::moniker-end
92+
8393
* <xref:Microsoft.AspNetCore.Builder.RemoteAuthenticationOptions.SignInScheme%2A>: Sets the authentication scheme corresponding to the middleware responsible of persisting user's identity after a successful authentication. The OIDC handler needs to use a sign-in scheme that's capable of persisting user credentials across requests. The following line is present merely for demonstration purposes. If omitted, <xref:Microsoft.AspNetCore.Authentication.AuthenticationOptions.DefaultSignInScheme%2A> is used as a fallback value.
8494

8595
```csharp
@@ -305,6 +315,16 @@ If using Visual Studio, you can confirm the secret is set by right-clicking the
305315

306316
The following <xref:Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions> configuration is found in the project's `Program` file on the call to <xref:Microsoft.Extensions.DependencyInjection.OpenIdConnectExtensions.AddOpenIdConnect%2A>:
307317

318+
:::moniker range=">= aspnetcore-9.0"
319+
320+
* <xref:Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions.PushedAuthorizationBehavior%2A>: Controls [Pushed Authorization Requests (PAR) support](xref:aspnetcore-9#openidconnecthandler-adds-support-for-pushed-authorization-requests-par). By default, the setting is to use PAR if the identity provider's discovery document (usually found at `.well-known/openid-configuration`) advertises support for PAR. If you wish to require PAR support for the app, you can assign a value of [`PushedAuthorizationBehavior.Require`](xref:Microsoft.AspNetCore.Authentication.OpenIdConnect.PushedAuthorizationBehavior). PAR isn't supported by Microsoft Entra, and there are no plans for Entra to ever support it in the future.
321+
322+
```csharp
323+
oidcOptions.PushedAuthorizationBehavior = PushedAuthorizationBehavior.UseIfAvailable;
324+
```
325+
326+
:::moniker-end
327+
308328
* <xref:Microsoft.AspNetCore.Builder.RemoteAuthenticationOptions.SignInScheme%2A>: Sets the authentication scheme corresponding to the middleware responsible of persisting user's identity after a successful authentication. The OIDC handler needs to use a sign-in scheme that's capable of persisting user credentials across requests. The following line is present merely for demonstration purposes. If omitted, <xref:Microsoft.AspNetCore.Authentication.AuthenticationOptions.DefaultSignInScheme%2A> is used as a fallback value.
309329

310330
```csharp
@@ -520,6 +540,16 @@ If using Visual Studio, you can confirm the secret is set by right-clicking the
520540

521541
The following <xref:Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions> configuration is found in the project's `Program` file on the call to <xref:Microsoft.Extensions.DependencyInjection.OpenIdConnectExtensions.AddOpenIdConnect%2A>:
522542

543+
:::moniker range=">= aspnetcore-9.0"
544+
545+
* <xref:Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions.PushedAuthorizationBehavior%2A>: Controls [Pushed Authorization Requests (PAR) support](xref:aspnetcore-9#openidconnecthandler-adds-support-for-pushed-authorization-requests-par). By default, the setting is to use PAR if the identity provider's discovery document (usually found at `.well-known/openid-configuration`) advertises support for PAR. If you wish to require PAR support for the app, you can assign a value of [`PushedAuthorizationBehavior.Require`](xref:Microsoft.AspNetCore.Authentication.OpenIdConnect.PushedAuthorizationBehavior). PAR isn't supported by Microsoft Entra, and there are no plans for Entra to ever support it in the future.
546+
547+
```csharp
548+
oidcOptions.PushedAuthorizationBehavior = PushedAuthorizationBehavior.UseIfAvailable;
549+
```
550+
551+
:::moniker-end
552+
523553
* <xref:Microsoft.AspNetCore.Builder.RemoteAuthenticationOptions.SignInScheme%2A>: Sets the authentication scheme corresponding to the middleware responsible of persisting user's identity after a successful authentication. The OIDC handler needs to use a sign-in scheme that's capable of persisting user credentials across requests. The following line is present merely for demonstration purposes. If omitted, <xref:Microsoft.AspNetCore.Authentication.AuthenticationOptions.DefaultSignInScheme%2A> is used as a fallback value.
524554

525555
```csharp

Diff for: aspnetcore/tutorials/first-web-api.md

-3
Original file line numberDiff line numberDiff line change
@@ -769,9 +769,6 @@ There are many other tools that can be used to test web APIs, for example:
769769
* [curl](https://terminalcheatsheet.com/guides/curl-rest-api). Swagger uses `curl` and shows the `curl` commands it submits.
770770
* [Fiddler](https://www.telerik.com/fiddler)
771771

772-
For more information, see:
773-
774-
* [Install and test APIs with `http-repl`](xref:tutorials/first-web-api?view=aspnetcore-6.0&preserve-view=true#ihr6)
775772

776773
<!-- Verify https://go.microsoft.com/fwlink/?linkid=2123754 goes to this H2. Verify the latest released version is on top so this anchor works -->
777774
<a name="over-post"></a>

Diff for: aspnetcore/tutorials/first-web-api/includes/first-web-api7.md

-1
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,6 @@ There are many other tools that can be used to test web APIs, for example:
457457
For more information, see:
458458

459459
* [Minimal API tutorial: test with .http files and Endpoints Explorer](xref:tutorials/min-web-api)
460-
* [Install and test APIs with `http-repl`](xref:tutorials/first-web-api?view=aspnetcore-6.0&preserve-view=true#ihr6)
461460

462461
<!-- Verify https://go.microsoft.com/fwlink/?linkid=2123754 goes to this H2. Verify the latest released version is on top so this anchor works -->
463462
<a name="over-post"></a>

Diff for: aspnetcore/tutorials/first-web-api/includes/first-web-api8.md

-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,6 @@ There are many other tools that can be used to test web APIs, for example:
413413
For more information, see:
414414

415415
* [Minimal API tutorial: test with .http files and Endpoints Explorer](xref:tutorials/min-web-api)
416-
* [Install and test APIs with `http-repl`](xref:tutorials/first-web-api?view=aspnetcore-6.0&preserve-view=true#ihr6)
417416

418417
<!-- Verify https://go.microsoft.com/fwlink/?linkid=2123754 goes to this H2. Verify the latest released version is on top so this anchor works -->
419418
<a name="over-post"></a>

Diff for: quest-config.json

+3-43
Original file line numberDiff line numberDiff line change
@@ -37,51 +37,11 @@
3737
"ParentNodeId": 308205
3838
},
3939
{
40-
"Label": "okr-freshness",
41-
"Semester": "Dilithium",
42-
"ParentNodeId": 237266
43-
},
44-
{
45-
"Label": "okr-curation",
46-
"Semester": "Dilithium",
47-
"ParentNodeId": 237271
48-
},
49-
{
50-
"Label": "user-feedback",
51-
"Semester": "Dilithium",
52-
"ParentNodeId": 233465
53-
},
54-
{
55-
"Label": "okr-health",
56-
"Semester": "Dilithium",
57-
"ParentNodeId": 237266
58-
},
59-
{
60-
"Label": "doc-bug",
61-
"Semester": "Dilithium",
62-
"ParentNodeId": 233465
63-
},
64-
{
65-
"Label": "sfi-ropc",
66-
"Semester": "Dilithium",
67-
"ParentNodeId": 271716
68-
},
69-
{
70-
"Label": "sfi-admin",
71-
"Semester": "Dilithium",
72-
"ParentNodeId": 271716
73-
},
74-
{
75-
"Label": "sfi-images",
76-
"Semester": "Dilithium",
77-
"ParentNodeId": 286370
78-
},
79-
{
80-
"Semester": "Dilithium",
81-
"ParentNodeId": 227486
40+
"Semester": "Bromine",
41+
"ParentNodeId": 403735
8242
}
8343
],
84-
"DefaultParentNode": 308205,
44+
"DefaultParentNode": 403735,
8545
"WorkItemTags": [
8646
{
8747
"Label": "9.0",

0 commit comments

Comments
 (0)