Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Use Facebook-based Single Sign-On (SSO)

Log in to your ServiceNow instance by using your Facebook credentials on the Facebook-based SSO.

Before you begin

The Facebook-based SSO is shipped along with your ServiceNow instance.

You can define the Identity Provider (Idp) configurations to the OIDC_Facebook IdP as your Identity Providers. For more information about Idp configurations, see Configure a Facebook-based Single Sign-On (SSO).

Role required: sso_config_admin, business_rule_admin, script_include_admin

Procedure

  1. Navigate to All > Multi-Provider SSO > Identity Providers.

  2. Select OIDC_Facebook.

  3. On the OIDC_Facebook page, specify the following fields:

    Note:

    • Most of the fields are auto-populated when using the default IdP.
    • Details of the ServiceNow Homepage must be provided.
    • User-related details such as Client ID and Client Secret from Facebook must be provided within the IdP.
Image omitted: oidc-facebook.png
OIDC Facebook
  1. Open the User Provisioning tab, and fill in the fields.

    Note: You must configure the OIDC-related information such as Client ID and Client Secret of your users from Facebook.

FieldDescription
NameName of the OIDC IdP record. Enter `OIDC_Facebook`.
DefaultOption to set the OIDC IdP configuration as default.
OIDC Entity ProfileOAuth Entity Profile for the OIDC configuration. Enter `Facebook default_profile`.
External logout redirectThe URL where the integration redirects users after they log out. Typically, this URL is the portal that is used for SSO. This field is automatically set to external_logout_complete.do. For example, https://<yourinstance>.service-now.com/external_logout_complete.do.
ActiveOption to make the OIDC IdP configuration active.Note: This option can only be set to active after a successful test connection.
Auto Redirect IdPOption to enable automatic redirection of the users to the login page of the identity provider.
ServiceNow HomepageThe URL of the login page that is used for authentication. This field is automatically set to your instance URL. The format of the URL is `https://.service-now.com/navpage.do`
Show as Login optionOption to display the OIDC IdP as a login option on the login page. In this case, the login option appears as the Login with Facebook button.
SSO LabelLabel of the OIDC IdP displayed on the login page. This field appears only when Show as Login option is enabled.
Logo URLPublicly available URL that contains the logo of the OIDC IdP provider. This field appears only when Show as Login option is enabled.
FieldDescription
Automatically provision usersOption to enable automatic user provisioning. This property creates a user in the instance User [sys_user] table when the user exists on the IdP but doesn’t exist in the User table.Note: You can choose to enable automatic user provisioning during user login. When automatic user provisioning is enabled, a user record is automatically created in the ServiceNow instance if that user record doesn’t exist.
Provision usingThe data source to use to transform to a ServiceNow user. Choices are as follows:- An ID Token - User Info endpoint - Both ID Token and User Info Use the Lookup list to select the pre-defined data source template, then open the record to configure the Transforms table mapping.
Provision data sourceThe ID token data source that is used for user provisioning.
User Info DatasourceThe user info endpoint data source used for user provisioning. This field appears only when User Info or Both ID Token and User Info is selected from the Provision using field.
Update User on next loginOption to enable user updates during the next login.
Update User Interval Time \(Seconds\)Minimum time interval (in seconds) to update a user record between subsequent logins. This field is automatically set to 3600 seconds. For example, after a user logs in, the user record will be updated after 3,600 seconds until the next login. This field is available only when the Update User on next login field is enabled.
User roles applied to provisioned usersList of roles applied to the newly provisioned users.
  1. In the OIDC Entity tab, view and modify the OIDC client configuration and OIDC connect flow using the entity record.

    For more information related to OIDC-based configuration, see Configure an OAuth OIDC provider for accepting third-party token

  2. In the OIDC Provider Configuration tab, view and modify the well-know configuration URL of the OIDC IdP.

  3. Open the Advanced tab, and fill in the fields.

    PropertyDescription
    Single Sign-On ScriptThe script that executes during Single Sign-On.
    Logout ScriptThe script that executes after the user logs out.

    Note: Scripts are run during single sign-on and logout.

  4. To enable and test the configuration, click Active.

  5. To update the record, click Update.

    The Facebook-based login option is displayed on the login form.

  6. When logging in on the login form, do the following:

    1. Select the Facebook option.

    2. To log in to the ServiceNow instance, specify your Facebook credentials.

sndocs is an independent community mirror and is not affiliated with or endorsed by ServiceNow.

ServiceNow, the ServiceNow logo, Now, and other ServiceNow marks are trademarks and/or registered trademarks of ServiceNow, Inc., in the United States and/or other countries. Other company and product names may be trademarks of the respective companies with which they are associated.

© 2026 ServiceNow, Inc. All rights reserved.

Documentation content is redistributed under the Apache License 2.0 from the ServiceNowDocs repository.