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 SAML login does not work in Offline mode

SA-102664

Summary

User configures mobile channel for application using the out-of-the-box username or password authentication. The user is able to log in to the generated mobile application. Offline Mode displays on the application when the user switches off the Internet connection.

However, if the user changes the login URL to the prweb or Single sign-on (SSO) which uses the SAML Auth, the login in the Online mode works. Offline mode does not display on the application when the Internet connection is tuned off. The Web page not available error occurs when the user relaunches the application on the mobile device in the Offline mode. 

The mobile application must support Offline mode. If the user logs in and loses the Internet connection, the user must still be able to access the application. The Offline indicator must display on the application when the network is lost.


Error Messages

Not Applicable


Steps to Reproduce

  1. Configure a mobile channel
  2. Build an Android application with SSO URL
  3. Install the mobile application 
  4. Launch the mobile application
  5. Log in to the application in Online mode
  6. Turn off Internet on the mobile device. Offline mode does not display
  7. Close the mobile application
  8. Relaunch the mobile application without Internet. A message displays indicating that the webpage is unavailable


Root Cause



A software use or operation error. A HTML page which does not have the offline capability is used while logging in.

Resolution



Perform the following local-change:
  1. Add the below property to the Asset folder of the mobile build:
    container.authentication.oauth2.service=<service alias name >
  2. Build the APK
 

 

Published 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