Question2Replies241Views DineshKumarD9112 Member since 2017 20 posts Accenture Posted: 1 year agoLast activity: 1 year ago Closed Solved Unable to call the Pega REST Serivce with OAUTH 2.0 enabledHi All,I have created a Pega REST Service in local. I wanted to secure the pega rest service with OAUTH 2.0. I have done the below.1. I have created OAuth 2.0 client registration rule and grant type is client credentials and Operator ID used has the access group of the service package(Screenshots attached)2. I have updated the Service package with Authentication type OAuth 2.0(Screenshot attached).3. I have used postman to generate the access token, works fine(Screenshot attached).4. I use the REST Service endpoint with access token generated in the Authorization header in the format "Bearer <access_token>", but i get 401 unauthorized error.(Screenshot attached)Could some one please help me on getting this issue resolved. its very urgent to get this done. Pega Knowledge Pega Platform Low-Code App Development Dev/Designer Studio Data Integration ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! 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. Posted: 1 year agodasn1 PEGA replied to DineshKumarD9112Hi, Could you please verify your configuration by following the below links. https://community.pega.com/knowledgebase/articles/accessing-pega-api-using-oauth-20 https://community.pega.com/knowledgebase/oauth-20-rest-integration Thank You, Accepted Solution Posted: 1 year agoUpdated: 1 year agoDineshKumarD9112 Accenture replied to DineshKumarD9112Hi Das, I have configured it using the above links only. I have got the issue resolved. It was an access issue. I have added sysadm4 access role to the access group of the service package. Post that it started working fine. Thanks anyways for the reply.