A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
Authenication schemes work differently in net5.0 Please see Use multiple authentication schemes
I would like to build a login function with AzureAD for backend users and AspNetCore Identity for front-end users. I have followed the steps:
Result of "enabled" Azure AD:
When debugging I see that User.Identity.IsAuthenticated is always false after SignInManager SignIn:
Otherwise, if I disable Azure AD, we can get all claim and User.Identity.IsAuthenticated = true. And we can log in front-end as normal.
Could you please take a look at the issue on the front-end login with AspNetCore Identity if I turn on the login backend with AzureAD?
Any help would be appreciated.
Thank you in advance...