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

Mobile - LDAP User is not able to login

SA-46283

Summary



Users have production servers in remote location which has very limited internet connection.

Mobile device connects with the Pega application using Ldap authentication.

With the Ldap url (http://<server>:<port>/prweb/PRWebLDAP{n}), user is unable to login and getting exception.

However using the default Pega URL (http://<server>:<port>/prweb/PRServlet) the login is successful.


Error Messages



2017-10-24 14:39:59,431 [ttp-nio-8080-exec-28] [ STANDARD] [ ] [ PegaRULES:07.10] ( internal.services.ServiceAPI) ERROR PEGAWFE01-199|<IP>|Rest|offlinehttp|DataSync|pzSynchronizationService|ABCDEFGH777B97777E666A4D99336B273 - Rest service [offlinehttp][DataSync][pzSynchronizationService] failed:Authentication failed


Steps to Reproduce

  1. Build the Android app from designer studio.
  2. Install the app on the mobile device.
  3. Use LDAP url to login http://<server>:<port>/prweb/PRWebLDAP{n}. It fails with exception.
  4. Use default Pega URL http://<server>:<port>/prweb/PRServlet. Login is successful.


Root Cause



A software use or operation error.

By default, the offline REST service is set to use the basic authentication.

Users that use custom authentication have to reconfigure the default setting by opening the offline http service package and changing it to custom.

Resolution



Perform the following local-change

1. Search and go into the offlineHttp service package.
2. Change the "Service access group" to the application's user access group (or app:Administrators).
3. Change the "Authentication type" to "Custom".
4. Set the "Authentication service" to custom type for example.
"WebLDAP1".

Published November 8, 2017 - Updated December 2, 2021

Was this useful?

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.

Did you find this content helpful?

Want to help us improve this content?

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