Rishabh Raj (RishabhRaj203)
HCL Technologies
Senior Consultant
HCL Technologies
RishabhRaj203 Member since 2015 4 posts
HCL Technologies
Posted: April 16, 2019
Last activity: April 16, 2019
Posted: 16 Apr 2019 14:20 EDT
Last activity: 16 Apr 2019 15:05 EDT

I have a requirement to expose a REST service with oAuth 2.0

Hi Ken,

I have a requirement to expose a REST service with oAuth 2.0

In order to achieve this, I created oAuth 2.0 Client Registration data instance and got the client id, client secret and access token endpoint url. When I am trying to hit the endpoint url using postman or soapui after including the client_id, client_secret and grant_type as "client credentials" in the request body, I am getting below error :

"errors": [
"ID": "invalid_authorization_header",
"message": "Invalid Authentication Data."

Using PEGA v7.2.2

Endpoint url : https://xyz.:8XXX/prweb/PRRestService/oauth2/v1/token

ave already gone through all possible articles on pdn but not able to figure out the issue. Hope to hear back from you soon.


Rishabh Raj

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 Question, please write a new Question.