
Muhafils.10575 (Customer) asked a question.
Getting HttpContext.User.Identity.IsAuthenticated Value always false even AuthenticateAsync return true
HttpContext.User.Identity.IsAuthenticated is always false , even when HttpContext.AuthenticateAsync(OktaDefaults.MvcAuthenticationScheme) return true and succeed .
Please help with this issue.
Thanks

Hi Muhafil,
For an issue like this I would highly suggest opening up a ticket with our support team so that we can have a look at the issue with more detail given that we would need a network trace in order to find out where the flow breaks as well as more details about your app's configuration.
If you have not done so already I also highly recommend viewing a sample applications,
https://github.com/okta/samples-aspnetcore
https://github.com/okta/samples-aspnet
https://developer.okta.com/blog/2020/09/30/blazor-webassembly-wasm-dotnetcore