OK, thanks for your help.
Yes, and it works fine. But I need it encrypted
Angular app first time login is work fine, but when refresh the page there is an error occured due to reading AccessToken which is encrypted in line remember-me.service.ts
ERROR SyntaxError: Unexpected token 'õ', "õ¿Ø]&¶`"... is not valid JSON
at JSON.parse (<anonymous>)
Steps to reproduce
Suggestion to Solve I can see the id_token is available to read same as access_token when encryption enabled. Try read access_token when error occured read id_token if exists.
Yes, I did that too, but the problem still persists. Were you able to reproduce this issue?
hi, This happens even in MVC. To reproduce as I noticed: you wait (without any actions somtimes) till Token expired but not the cookie, when the Web call HostApi which not accept Web Token. this issue happend.
I tried to change cookie and Token configs but still face it. Most of times Logging out not solve it. Nor clean browser cache. This happens in development and prodctuion environments
Currently The ONLY WORKAROUND FOR THIS : Clean REDIS cache
I think this related to some enryption keys for Token stored in REDIS cache, when clear the cache the system re-generate some keys.
How can implement phantom token with OpenIddect? Please look below url https://curity.io/resources/learn/phantom-token-pattern/
Hello,
Why it only happened on AR and RU?