Question

5
Replies
274
Views
Brahmeswara Rao (Brahmesh@)
Capgemini
Developer
Capgemini
SE
Brahmesh@ Member since 2013 154 posts
Capgemini
Posted: February 14, 2020
Last activity: February 24, 2020
Posted: 14 Feb 2020 5:05 EST
Last activity: 24 Feb 2020 3:40 EST
Closed

Issue OAuth2.0 Authorization Code

Unable to connect to the authorization server with Authorization Grant type, as it saying invalid redirect uri which is auto-filled in by pega .

OAuth

if i ignore the test connectivity and directly refer the authentication profile in connect-reset then it's failing as unable to obtain token.

FAIL 
 Step Status Info 

 ** Unable to obtain OAuth2 Token

I don't see class for authorization code ,

Authorization

 

I need to connect with client system using OAuth 2 authentication protocol.

I need to use authorization code grant type.

Everything is set like , Client_ID, key, redirect_URI etc.

I created OAuth 2 provider & Authentication profile data instance. In the Connect-REST, I used the authentication profile.

when i test the Connector activity, nothing works !!!, when i check customized logs in pyInvokeRESTConnector activity, I see access token as null.

In pyInvokeRESTConnector 6th java step, they use getAccessToken method to get the access token

Unable to connect to the authorization server with Authorization Grant type, as it saying invalid redirect uri which is auto-filled in by pega .

OAuth

if i ignore the test connectivity and directly refer the authentication profile in connect-reset then it's failing as unable to obtain token.

FAIL 
 Step Status Info 
 ** Unable to obtain OAuth2 Token

I don't see class for authorization code ,

Authorization

 

I need to connect with client system using OAuth 2 authentication protocol.

I need to use authorization code grant type.

Everything is set like , Client_ID, key, redirect_URI etc.

I created OAuth 2 provider & Authentication profile data instance. In the Connect-REST, I used the authentication profile.

when i test the Connector activity, nothing works !!!, when i check customized logs in pyInvokeRESTConnector activity, I see access token as null.

In pyInvokeRESTConnector 6th java step, they use getAccessToken method to get the access token

But where they get the authorization code???!!!!

We know for Authorization code grant type, there should be 2 requests.

1) get authorization code

2) get access code

pega do really support Authorization code grant type in 7.3.1

 

 

 

Pega Platform 7.3.1 Security Data Integration Java and Activities Financial Services
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 Question, please write a new Question.