this.isAuthenticated = await this.oktaAuth.isAuthenticated(); – is always returning empty. while investigating cause for returning false, I noticed “okta-token-storage” local storage is empty.
I have sample app, which okta provided in git. when comparing with sample app, i came to know about this.
Hi @andrea, thank you for your response. actually I tried to use different callback page instead of login/callback. I could notice that issue happened because of login/callback. now its resolved.
now i m facing issue in attribute in my WebApi (asp.net), getting 401 error same access token is working fine in my demo app, but not working in real project. looking for solution.
I am using login/callback and oktacallbackcomponent only but it is working in my local machine when I tried in remote desktop i am not getting access token only transaction storage is storing