Question

12
Replies
9395
Views
Muthu Member since 2013 7 posts
ING NV
Posted: 4 years ago
Last activity: 4 years 2 months ago
Closed
Solved

BASIC authentication of REST service

Hi All,

 

I am trying to access Pega 7 Process REST API to create a case. I have configured the service package to use authentication with BASIC authentication type.

(Example: username - Muthu password - rules)

 

When i pass the authentication header from my rest client, I get a 401 unauthorized error.

API accessed:http://address:7002/prweb/api/v1/cases

(Authorization: Basic TXV0aHU6cnVsZXM=)

 

On the other hand, if i pass the UserIdentifier and Password as query string parameters, i am able to authenticate myself and execute the API.

API accessed: http://address:7002/prweb/api/v1/cases?UserIdentifier=Muthu&Password=cn…

 

Please suggest

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