Activities of "adhamawadhi"

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

  • Enable OpenIddict Token Encryption
  • Login in angular for first time (it wokrs fine)
  • Open explorer Console devleoper
  • Refresh the page ( press F5)
  • you can see Exception in Consol tab

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.

Question

How can implement phantom token with OpenIddect? Please look below url https://curity.io/resources/learn/phantom-token-pattern/

Showing 1 to 2 of 2 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on May 28, 2025, 08:51