Last activity: 6 Oct 2021 6:02 EDT
Reuse Authentication service token for REST connector
I have a requirement to reuse token from SSO connection (with OpenID authentication service) and I want to reuse this token for REST connector.
But it seems impossible with Pega OOTB behavior (we use Pega 8.3.5). Do you know if it's possible ?
- When user connect to Pega platform with SSO, an OpenID authentication service is used... So a token is available in table pr_data_token with grant type "Authorization code" and a specific scope
- When user use connector REST, we use authentication profile with "authorization code" and same scope that used in authentication service. But Pega doesn't use automatically token available in table pr_data_token; so we should use gadget pxInformationMashup to retrieve a fresh token (but in this case, there is a popup to ask credential to this user).
Even if we will be able to reuse token generated when user connect, I didn't find a solution to refresh this token.
Do you have already implement this type of requirement on other project ?
Thanks in advance for your feedback.