Question

1
Replies
149
Views
FILALIA3 Member since 2018 5 posts
Fekra consulting
Posted: May 5, 2020
Last activity: May 5, 2020

How to used Pega's REST with token

Hello all,

i have rest  API  to generate token, i have other API Rest to use this token for OAuth 2.0

in winzar rest i do like this 

Client information

Authentication scheme

 BasicNTLM

OAuth 2.0 

OAuth provider

Pega

Grant type

 Client credentials 

Client information

Identifier

=dataPage.usename

Secret

= datapage.password

Authorization code

Authorization 

= dataPage.Authorization  

Access token

= dataPage.Accestoken

 

and i have this message

Caught Exception while creating OAuth2 client Unable to obtain access token for client details in authentication profile configured for connector. Please check the logs for more details. org.apache.http.conn.HttpHostConnectException: Connect to localhost:443 [localhost/127.0.0.1] failed: Connection refused (Connection refused)  

but not Work, i need help

 

 

***Edited by Moderator Marissa to update Pega Academy to General; update platform capability tags***

Data Integration
Share this page LinkedIn