You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspnetcore/security/authentication/configure-oidc-web-authentication.md
+50Lines changed: 50 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,6 +179,56 @@ public class SignedOutModel : PageModel
179
179
}
180
180
```
181
181
182
+
### Implement Login Page
183
+
184
+
A Login Razor Page can also be implemented to call the **ChallengeAsync** directly with the required AuthProperties. This is not required if the whole web application requires authentication and the default Challenge is used.
185
+
186
+
The `login.cshtml` requires the AllowAnonymous attribute.
0 commit comments