Skip to content

Commit 205e4a7

Browse files
committed
Added clarification to the PAR sample that it's irrelevant in .NET 9+
1 parent a88ed59 commit 205e4a7

File tree

1 file changed

+9
-0
lines changed
  • src/content/docs/identityserver/samples

1 file changed

+9
-0
lines changed

src/content/docs/identityserver/samples/basics.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,13 @@ Key takeaways:
125125
would normally be sent in that redirect with the resulting request uri. See the `ParOidcEvents.cs` file for more
126126
details.
127127

128+
:::note
129+
This sample is only relevant if you're using .NET 8 or lower.
130+
131+
[.NET 9 has support for PAR built-in][ms-learn-par], and the ASP.NET OIDC authentication handler will automatically use
132+
PAR when the authority supports it, based on the discovery metadata.
133+
:::
134+
128135
[link to source code](https://github.com/DuendeSoftware/Samples/tree/main/IdentityServer/v7/Basics/MvcPar)
136+
137+
[ms-learn-par]: https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-9.0?view=aspnetcore-9.0#openidconnecthandler-adds-support-for-pushed-authorization-requests-par

0 commit comments

Comments
 (0)