Symptom
The application, which extends the Spartacus library, is facing an issue with the oAuth implementation. Here are the key symptoms:
-
- The refresh token stored in the AuthStorage service from Spartacus is lost upon page reload.
- If a page reload occurs after the access token expires, it results in a user logout.
- The loss of the refresh token may be due to the Angular-based storage losing data on reload or premature deletion before syncing to local Storage.
Read more...
Environment
Spartacus
Product
SAP Commerce Cloud all versions
Keywords
Spartacus, refresh token, oAuth, AuthStorage service, Angular, local storage, token expiration, AuthStatePersistenceService. , KBA , CEC-SPA , SAP Commerce Cloud Spartacus , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.