Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The core app provides the ability to define multiple OAuth clients for different urls. You can change the base URL from the Settings Screen inside the app and the relevant OAuth client settings will be picked up.
Click the three-dot menu on the login page and you will be navigated to the Settings Screen, where you can click on OpenSRP base URL and will be presented with the following.

...

How to implement

To support switching between multiple environments, extend PropertiesSyncConfiguration for the implementation of SyncConfiguration. PropertiesSyncConfiguration depends on EnvironmentManager to load different Environment's.

...