Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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. 
Suggest Edit

Published May 21, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us