Question

1
Replies
700
Views
RishabhRaj203 Member since 2015 4 posts
Luxoft Technologies
Posted: 1 year ago
Last activity: 1 year 6 months ago
Closed

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.

Thanks,

Rishabh Raj

Data Integration
Moderation Team has archived post
Share this page LinkedIn