But, cannot log in on the font-end with the registered user "customer1@example.com". I have already tested on a new browser, for example, incognito. Here is the details:
When debugging I see that User.Identity.IsAuthenticated is always falseafter 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?
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...