Support Article
Service-REST Authentication
SA-23383
Summary
User has existing REST services, which accepts credentials in Post method body and in service activity. Pega is trying to authenticate user using pega.getAuthenticationHandle().performAuthentication() . This is not working correctly.
Error Messages
Not Applicable
Steps to Reproduce
Use pega.getAuthenticationHandle().performAuthentication() method by supplying user ID and plain text password within a Service-REST processing activity.
Root Cause
Service activity cannot be used to authenticate users for processing the service.
Resolution
Use a properly configured Data-Admin-AuthService and define it in the ServicePackage.
Published May 21, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.