Question
OAuth2 OpenID Connect Token support
Hi,
My client uses OAuth 2 with OpenID connect token and I am wondering if we have OOTB support for it.
We have version 7.2.1 and I can connect through standard OAuth 2 but only get the Access Token, and not the token_id with the information we need. I have been able to have a workaround, but could not have this working OOTB.
The redirect service, performs a post in a java step, and retrieves just the Access Token :
oauth2Token = pega.getServiceUtilsPriv().getOAuth2Client(tools, authProfilePage, operator).getAccessToken(authCode);
I have tried to find the available methods in the Engine API, but I can't find the package : com.pega.pegarules.pub.services.oauth2 in the documentation.
Many thanks in advance!
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Hi Herim, from the debug logs at pega side, do you see the 'token_id' as part of the token?
following pega logger might help 'com.pega.pegarules.integration.engine.internal.client.oauth2'. run with logger level as 'DEBUG'.
If you see the token_id in pega debug log and no api to access it, please create a support request by attaching the evidence. Thanks!