Setting up an alternative server URL for Pega Mobile Client

In the advanced settings for a custom mobile app for Pega Mobile Client, you can set up the app to connect to another instance, or to a specific Pega Platform servlet.

If you are configuring Pega Platform to support user authentication against an external OAuth 2.0 server, you must provide the URL that points to the servlet that is used by your custom authentication service. An alternative URL is also useful when you are developing your mobile app and want to quickly connect to another instance of Pega Platform, for example, for testing purposes.
  1. Navigate to the Build tab of the mobile channel interface.
  2. Expand the Advanced section below the App branding section.
  3. Select the Use alternative server URL check box.
  4. Enter a URL address for another Pega Platform instance, in the following format: http://<SERVER_HOSTNAME>:<SERVER_PORT>/prweb/<SERVLET_NAME>, for example
  5. Click Save.