Discussion
QBE
AU
Last activity: 4 Oct 2018 13:54 EDT
OAUTH 2 Authentication - Password Grant Type
Hi ,
As you know, Pega 72 by default only Supports OAUTH 2 Authentication for "Authorization Code Grant" and "Client Credentials Grant".
As per Client requirement we had to do use a different Grant Type "Resource Owner Password Credentials Grant / password" for integrating to an external system using Connect - REST . We are able to achieve this successfully with the below work around solution. Hope this approach helps you in solving any of your requirements.
Step 1: Test the Connection using Third Party tool such as Postman.
Step 2: Use Generate Code in Postman to see underlying code generated
Step 3: Frame the String in above Generated code in PEGA and pass to Connect REST (without any authentication) either in Body or Header as required by Client Application.
**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.