Sudheer Somisetty (SSomisetty)
Coforge DPA Pvt Ltd
Sudheer Somisetty
Coforge DPA Pvt Ltd
SSomisetty Member since 2010 6 posts
Coforge DPA Pvt Ltd
Posted: April 13, 2016
Last activity: October 4, 2018
Posted: 13 Apr 2016 1:33 EDT
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.

Data Integration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.