Asp.Net Core Identity Authentication With Cookies #1996
tulde23
started this conversation in
Show and tell
Replies: 2 comments
-
Exactly what I was searching for! |
Beta Was this translation helpful? Give feedback.
0 replies
-
@tulde23 @Ewerton Guys, will these code snippets still work in 2024 for .NET 7 and .NET 8 SDKs ❓ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If anyone is looking to use cookies based authentication with .net core Identity here is some config to get you going.
The important thing to notice here is "Identity.Application" passed for "AuthenticationProviderKey". I found this value at Microsoft.AspNetCore.Identity.IdentityConstants.ApplicationScheme in netcore 2.2
Startup.cs
AuthController
Beta Was this translation helpful? Give feedback.
All reactions