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
Hello, I have data in local storage, okta-cache-storage shared transaction storage and token storage. I am not getting any token back. In network tab I don’t see Authorize request being called. I used implicit /callbackroute as callbackcomponent and I am using inject(okta_auth). I am not getting anything in authstate. The okta details are org managed so will changing login/callback fix it? Also the callback url is being called repeatedly.