Setting up an alternative host
In the advanced settings for a mobile app, you can set up the app to connect to
a specific URL that points to the same instance of the Pega Platform servlet,
or an identical copy of the servlet. This way you can distribute the workload between servers or
redirect users from different regions or subsidiary companies to URL addresses that correspond
to their location.
If you are configuring Pega Platform to support
user authentication against an external OAuth 2.0 server, using the Resource Owner Password
Credentials (ROPC) authentication flow, you must provide the URL that points to the servlet
that is used by your custom authentication service.
Before you begin: Open the mobile channel interface. For more information, see
Navigating to the mobile channel.
- On the Configuration tab, expand the Advanced section.
- Select the Override default host check box.
-
Enter a URL address for another Pega Platform instance, in the
following format:
http://<SERVER_HOSTNAME>:<SERVER_PORT>/prweb/<SERVLET_NAME>
, for examplehttp://10.20.30.123:1080/prweb/PRWebLDAP_OAuth2
. - Click Save.