Skip to content

Commit d7ce18b

Browse files
authored
Update the passing tokens section (#34336)
1 parent dd90b0c commit d7ce18b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

aspnetcore/blazor/security/additional-scenarios.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,14 @@ This article explains how to configure server-side Blazor for additional securit
2121

2222
:::moniker range=">= aspnetcore-8.0"
2323

24-
Updating this section for Blazor Web Apps is pending [Update section on passing tokens in Blazor Web Apps (`dotnet/AspNetCore.Docs` #31691)](https://github.com/dotnet/AspNetCore.Docs/issues/31691). For more information, see [Problem providing Access Token to HttpClient in Interactive Server mode (`dotnet/aspnetcore` #52390)](https://github.com/dotnet/aspnetcore/issues/52390).
24+
For Blazor Web Apps, guidance on how to pass tokens to Razor components should be [addressed in the documentation (`dotnet/AspNetCore.Docs` #31691)](https://github.com/dotnet/AspNetCore.Docs/issues/31691) in 2025 for a preview release of .NET 10.
2525

26-
For Blazor Server, view the [7.0 version of this article section](xref:blazor/security/additional-scenarios?view=aspnetcore-7.0#pass-tokens-to-a-server-side-blazor-app).
26+
For more information, see the following issues:
27+
28+
* [Access `AuthenticationStateProvider` in outgoing request middleware (`dotnet/aspnetcore` #52379)](https://github.com/dotnet/aspnetcore/issues/52379): This is the current issue to address passing tokens in Blazor Web Apps, currently scheduled for .NET 10 (late 2025).
29+
* [Problem providing Access Token to HttpClient in Interactive Server mode (`dotnet/aspnetcore` #52390)](https://github.com/dotnet/aspnetcore/issues/52390): This issue was closed as a duplicate of the preceding issue, but it contains helpful discussion and potential workaround strategies.
30+
31+
For Blazor Server, view the [7.0 version of this article section](xref:blazor/security/additional-scenarios?view=aspnetcore-7.0&preserve-view=true#pass-tokens-to-a-server-side-blazor-app).
2732

2833
<!--
2934
Tokens available outside of the Razor components in a Blazor Web App can be passed to components with the approach described in this section. The example in this section focuses on passing access and refresh tokens, but the approach is valid for other HTTP context state provided by <xref:Microsoft.AspNetCore.Http.HttpContext>.

0 commit comments

Comments
 (0)