Question

3
Replies
1696
Views
JoydeepD1519 Member since 2017 6 posts
Comerica
Posted: 2 years ago
Last activity: 1 year 5 months ago
Closed

OAUTH 2.0 for exposing a rest Service. PRPC 7.2.1

HI All,

We are trying to enable OAUTH for the PEGA API. I have configured the oauth as per the instructions mentioned in https://pdn.pega.com/accessing-pega-api-using-oauth-20/accessing-pega-a….

BUt when i am trying to generate the token i am getting error message. PLease find the request and response below.

Request:

{
"client_id":"xxxxxxxxxxxxxxxxxxxxx",
"client_secret":"87CA4784C54D86532305428E1BFC3BF4",
"grant_type":"Client_Credentials"
}

Response:

{"errors": [
{
"ID": "unsupported_grant_type",
"message": "The grant type is not supported by the authorization server."
},
{
"ID": "invalid_request",
"message": "The request is missing a required parameter."
}
]}

can any one help me in understanding if there is any thing i am missing.

Also find the attached screenshot of the Oauth Client Registration rule.

Data Integration Security
Moderation Team has archived post
Share this page LinkedIn