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

Blank screen display after entering login details on mobile app

SA-91336

Summary



On installing the APK for Android device and entering the login details such as the username and password, a blank screen displays on clicking the Login button.


Error Messages



Not Applicable


Steps to Reproduce

  1. Install APK.
  2. Open the mobile application.
  3. Enter the login details.
  4. Click Login.


Root Cause



The blank screen is caused by the application ID. The client used the estes.Yard application ID which is in Camel case. In the Hybrid Client 7 (HC), when Pega OAuth2 authentication is used, only lower case application IDs are supported. When Camel case or Caps application ID is used, a blank screen displayed since the redirect back to the application does not work correctly. After the application ID is changed to lower case,  a second issue occurred.

The login failed the first time. However, the login to the  application is successful in the the second attempt. This occurred because the login HTML used by the mobile OAuth2 login screen had the 'http' URL instead of 'https'.
The NetScaler configuration at the client end forced all http requests to https URL; however, all the post data and query parameters are dropped. As a result, the user is directed to the desktop login screen.



Resolution



Perform the following local-change:
  1. Rebuild the application with the application ID in lower case (estes.yardprod instead of estes.Yard) such that the blank screen does not display during log in.
  2. Save the pyDisplayAuthScreenselector rule to the application's unauthenticated ruleset and make a change in the code to replace http with https. This is performed to the 'aliasurl' variable. 

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