Question
Accenture
GB
Last activity: 11 Feb 2022 10:40 EST
help with configuring rest connector to use OAuth 2.0 and client credentials flow
The requirement is to access an external web service which authenticates using OAuth 2.0 client credentials flow. Ive attempted to configure it in Pega 7.3.1 by creating this OAuth 2.0 provider
which is used by my Auth profile
which i have used in my rest connector
this is how ive set up my request header
but i know it needs to have Authorization:
"Bearer xxxxxxx"
Does the provider automatically get the access token when i used the connector and if so, where does it go and how to i map it into the header as a bearer token. I have set it up in Postman using OAuth 2.0 as the authorization and it works fine with those endpoints
The error i am getting at the moment is
The requirement is to access an external web service which authenticates using OAuth 2.0 client credentials flow. Ive attempted to configure it in Pega 7.3.1 by creating this OAuth 2.0 provider
which is used by my Auth profile
which i have used in my rest connector
this is how ive set up my request header
but i know it needs to have Authorization:
"Bearer xxxxxxx"
Does the provider automatically get the access token when i used the connector and if so, where does it go and how to i map it into the header as a bearer token. I have set it up in Postman using OAuth 2.0 as the authorization and it works fine with those endpoints
The error i am getting at the moment is
Fail: Authentication parameters incorrect |