RavenDB.Identity | RavenDB Identity provider for ASP.NET Core | Identity Management library
kandi X-RAY | RavenDB.Identity Summary
kandi X-RAY | RavenDB.Identity Summary
RavenDB Identity provider for ASP.NET Core. Let RavenDB manage your users and logins.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of RavenDB.Identity
RavenDB.Identity Key Features
RavenDB.Identity Examples and Code Snippets
Community Discussions
Trending Discussions on RavenDB.Identity
QUESTION
I have a .NET Core 2 web app and I want to use ASP.NET Identity to authenticate my users. On .NET Core 1.x, my code was working fine.
I migrated to .NET Core 2, and authentication works when running locally in Visual Studio. But when I deploy to a live environment, authentication stops working: the authentication cookie isn't being set in production.
My Startup.cs code looks like this:
...ANSWER
Answered 2017-Sep-05 at 18:33I solved the problem. It boiled down to HTTPS: it appears that signInManager.SignInAsync(...) sets a cookie that is HTTPS-only. I was publishing to a non-HTTPS site initially for testing.
Once I published to an HTTPS site, the cookie started working again.
The reason it was working locally was that I was running in HTTPS locally.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install RavenDB.Identity
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page