Question

12
Replies
9547
Views
Close popover
Muthukumar Ponniahsamy (Muthu)
ING NV
Lead System Architect
ING NV
NL
Muthu Member since 2013 7 posts
ING NV
Posted: July 18, 2016
Last activity: September 19, 2016
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=cnVsZXM=

 

Please suggest

Data Integration Security
Moderation Team has archived post