The Nuget package was then added to the project. The secure token server is implemented using IdentityServer4 but any STS could be used which supports PKCE.Īn ASP.NET Core 5 Razor Page application without identity was created using the Visual Studio templates.
This article shows how to secure an ASP.NET Core Razor Page application using the Open ID Connect code flow with PKCE (Proof Key for Code Exchange).