OAuth2 OpenID Connect
We are trying to implement an OAuth2 OpenID Connect based user authentication. The idea is to redirect to the OAuth2 Identity Provider for login which then redirects to Pega with an authorization code which Pega would use to retrieve a token from the Identity Provider that contains the user identity and other information (Authorization Code Grant Flow).
I can create an OAuth 2.0 Provider and an Authentication Profile that leverages it, but I am not sure how to use it for user authentication. The information I found here is that OOTB it does not seem to be available. I am OK with creating a Custom authentication activity, I just wonder if somebody already did that and could provide some guidance.
**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.
We ended up writing a Connect-REST rule to retrieve the token from the OAuth Provider based on the authorization code received.
It would be good to add this to OOTB features instead of having to write our own rules.
Keep up to date on this post and subscribe to comments