Question

3
Replies
1951
Views
Joydeep Das (JoydeepD1519)
Comerica

Comerica
US
JoydeepD1519 Member since 2017 6 posts
Comerica
Posted: May 15, 2018
Last activity: April 15, 2019
Posted: 15 May 2018 13:17 EDT
Last activity: 15 Apr 2019 7:34 EDT
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-api-using-oauth-20.

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, 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.