IsAuthentication is always false in Asp dot net application

I was able to get the okta-hosted-login demo running.
Also, i have created one asp dot net application and it is working fine.
Only in one application when I am entering the correct credentials, it is always showing as Isauthentication=false.

Check out these threads to see if they might apply to you/what you’re seeing: