Discussion

4
Replies
656
Views
Sudheer_Incessant Member since 2010 6 posts
Incessant Technologies Pvt Ltd
Posted: 4 years ago
Last activity: 2 years 9 months ago
Closed

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.

1.png

Step 2: Use Generate Code in Postman to see underlying code generated

2.png

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.

3.png

**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
Share this page LinkedIn