Configure mobile apps to use specific identity providers

task brazil Updated Sep 10, 2026 3 min read config-mobapps2-use-specific-idps.md
Raw file servicenow.com

You can configure a login experience that is specific to a mobile app and different from the web login experience. For example, Now® Mobile app users can be automatically redirected to an identity provider (IdP) that is different from the IdP that is defined for the web session.

Before you begin

Role required: admin

About this task

Admins can define the login experience for mobile users by associating app-specific login pages for mobile apps. For example, admins can enforce the following authentication scenarios:

  • When an instance is enabled with single sign-on (SSO), admins can configure mobile users to be redirected to a specific IdP login screen on their mobile app. This login screen can be different from the automatically redirected IdP that is defined for the instance.
  • Configure the mobile app to display the ServiceNow® SSO login page where users can provide their credentials to initiate the SSO login flow.
  • Configure the mobile app to display a custom login page with buttons that redirect users to different IdPs based on their role or persona.

Procedure

  1. Navigate to All > Application Registry.

  2. Select an application of OAuth Client type to open it.

    For example, select ServiceNow Agent, which is an OAuth Client.

  3. In the Login URL field of the Application Registries page, enter the login URL you want to use for this mobile app.

    [Omitted image "mob-auth-redirect-idp-provider.png"] Alt text: Application Registries screen showing the Login URL field.

    For example, enter:

    • oauth_login.do

      This login URL causes the local login screen to appear.

    • login_with_sso.do?glide_sso_id=<*valid active IdP sys\_id*>

      This login URL redirects the user to an external IdP that is specified with the IdP sys_id in the glide_sso_id parameter.

    • login_locate_sso.do

      This login URL displays the ServiceNow SSO login screen where users can enter their email or user ID.

      [Omitted image "mob-auth-servicenow-sso-login.png"] Alt text: ServiceNow SSO login page on a mobile app screen.

    You can also enter the login URL for a custom login page.

    To use identifier-first login for the mobile app, enter ifl_login.do as the Login URL. Identifier-first login is opt-in, so mobile app logins use it only when this Login URL is set in the corresponding OAuth entity record. Identifier-first login takes effect only when the policy-based login experience is enabled and at least one active identifier-first login policy exists. After the user enters an identifier, the instance routes the user to an authentication method based on the active identifier-first login policies. For more information, see .

    Note: If Force local login is enabled for the mobile app, identifier-first login behavior at login isn't effective in mobile authentication. For more information about force local login, see KB1560809.

    Important:

    If you enter login_with_sso.do for the Login URL, you must also provide a valid IdP sys_id as a glide_sso_id parameter to the URL. For example:

    login_with_sso.do?glide_sso_id=bc47c42887101010d00b5773e8cb0b85

    To get the valid IdP sys_id:

    1. In your instance, navigate to All > Identity Providers

    2. In the Identity Providers page, select the IdP provider.

    3. On the IdP provider page, right-click the page banner, and select Copy sys_id.

      [Omitted image "mob-auth-redirect-copy-idp-sysid.png"] Alt text: Right-click menu showing the option to copy the IdP's sys_id.

    If a valid IdP sys_id isn’t provided, the OAuth client login URL value can't be saved.

    For information about configuring an external IdP on your instance, see Create an external identity provider.

  4. Select Update to save the entry.

Result

Open the mobile app on a mobile device and select the instance. You should be redirected to the login page that was set up on the instance in the Application Registry.

Note: If login_locate_sso.do was saved as the Login URL and no default IdP is configured or the sso_source for the user isn’t set, then an error displays when the user name is entered. This behavior is similar to web UI behavior.

Parent Topic:Mobile authentication

Search documentation
Search document titles and file paths on the brazil branch