I´m using a classic ASP.NET MVC application with ASP.NET Identity und local accounts (stored in SQL DB). After adding Auth0 as described in the tutorial
I´m no longer able to login with my existing local accounts. After I login with the usual call
_signInManager.PasswordSignInAsync(...)
the ClaimsIndentity set in the User context is empty. It has no claims and all properties are null. Do I have to add Auth0 in a different way in order to use local accounts and Auto0 with external accounts parallel?
After some investigation do I need to follow the OWIN-tutorial?
I figured out that ASP.NET Identity is based on OWIN and so I hope that this is the correct approach. My requirement is to add Auth0 as authentication provider additionally to the existing ASP.NET Identity cookie based authentication (username/password stored in local database). Is that in general possible?
There is no need to go through Owin, especially if you are doing ASP .Net core. In Auth0 instruction, they assume you don’t identify providers, so they say: