How do I get the access token from a blazor (server-side) web app?
问题 After implementing openidconnect, where does blazor store the access token? how to retrieve it? How to add OpenIdConnect via IdentityServer4 to ASP.NET Core ServerSide Blazor web app? https://docs.microsoft.com/en-us/aspnet/core/security/blazor/?view=aspnetcore-3.1&tabs=visual-studio#customize-unauthorized-content-with-the-router-component 回答1: The following code snippets provide a way to retrieve the access token issued when a user is authenticated with IdentityServer4 provider. In order to