What's new in Customer Journeys?

Connect and learn more! ×
Clear or Refresh token — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Clear or Refresh token

Received Response
35
Views
2
Comments

Summary:

Hi team,

We have a PWA in VBCS, in which we make calls to APEX Restful Services.

We have created a Connection Service (apex ords) using OAuth 2.0 (Client Credentials), the problem is that the token generated by VBCS is configured to expire in 60 Minutes. Therefore, after 1 hour, the token expires, even though the UI created with VBCS is still active to the user, so after 60 minutes, when calling the APEX endpoints return a 401 Unauthorized error.

Content (please ensure you mask any confidential information):

We solved the problem of showing the active UI to the user after timeout  or expired token by adding a countimer (using a JS function), with which after 40 minutes of logging in, we notified the user that the session will be automatically closed in 5 minutes.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!