Configure Two OpenID Connect Native Apps
Within the same org, you need to set up two Native OpenID Connect (OIDC) client apps.
- In the console, navigate to Applications and click Add Application.
- Select Native and click Next.
- Give the app a name, and then enter
com.first.sample:/callback
in the Login redirect URIs box for the first app.Note: When you create the second app, enter
com.second.sample:/callback
. - Assign the group that you want (if you set Group Assignments for your app) or leave the Everyone default.
- Make sure that Authorization Code and Refresh Token are selected in the Grant Type Allowed section.
- Click Done.
- In the General Settings section, click Edit.
- In the Login section, click Add URI next to Logout Redirect URIs.
- Enter
com.first.sample:/logout
for the first app.Note: When you create the second app, enter
com.second.sample:/logout
. - Scroll to the Client Credentials section and copy the Client IDs for both the first and second app for use in a later step.
Next, you set up the mobile applications using the configuration from these native apps that you just created.