Skip to content

Commit 5a7e807

Browse files
committed
UseAuthorization() comment
1 parent 8199ed2 commit 5a7e807

File tree

1 file changed

+1
-0
lines changed
  • aspnetcore/security/authentication/configure-oidc-web-authentication/sample/oidc-net8/RazorPageOidcClient

1 file changed

+1
-0
lines changed

aspnetcore/security/authentication/configure-oidc-web-authentication/sample/oidc-net8/RazorPageOidcClient/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
app.UseStaticFiles();
5757

5858
app.UseRouting();
59+
// Authorization is required for middleware after the UseAuthorization method
5960
app.UseAuthorization();
6061
app.MapRazorPages();
6162

0 commit comments

Comments
 (0)