Set up Snyk Single Sign-On (SSO)

Set up Single Sign-On (SSO) to allow your developers and teams easy access to Snyk through your existing SSO provider.

The information you need to establish trust between Snyk and the identity provider depends on which type of SSO you are using.

Ensure you have at least one Group and Organization to indicate where new users will be assigned. For details, see Manage Groups and Organizations.

After you gather the needed information identified in the following sections, create a support ticket to request SSO setup.

Alternatively, Group Admins can configure Snyk Single Sign-On. See Self-Serve Single Sign-On (SSO) for the steps.

Overview of SSO

The process of establishing trust between your identity provider (IdP) and Snyk requires a few steps coordinated between your SSO administrator and Snyk Support.

  • In your identity provider platform, enter details about the Snyk environment and user attributes.

  • Provide Snyk with details from your IdP.

  • Set up a user for testing and send Snyk the username and password for that user.

  • Use the link provided by Snyk to generate a payload.

  • After Snyk finalizes the connection, confirm the login process is working correctly.

Users are provisioned to Snyk when they log in. If an invitation is required, users may only see a list of your Organizations until the admin adds them to the appropriate Organizations.

After SSO is configured both from Snyk and your company's network, a trust relationship is established with Snyk, Auth0 (on behalf of Snyk), and your network. Any sensitive data is encrypted and stored in Auth0 only for the purposes of enabling user logins.

Each type of SSO connection requires different details for establishing trust between your identity provider and Snyk. The following sections explain those details. The details are also included in the worksheets in the Resources section at the end of this article.

Set up SAML for SSO

To establish trust with Snyk, add an Entity ID, an Assertion Consumer Service (ACS) URL, and a Signing certificate in your identity provider.

  • The Entity ID is the URL that uniquely identifies Snyk as a SAML entity or service provider. Note: default Entity ID must be checked manually as no default is set for this.

  • The Assertion Consumer Service (ACS) is the endpoint on the Snyk network that listens for requests from your identity provider to enable communication between users on your network and Snyk. This URL is sometimes called a Reply URL.

  • The Signing certificate is the Snyk certificate, stored on your server that is needed to maintain the trust relationship. It contains the necessary encryption keys for authentication.

Use these details to set up the connection with your Identity provider (IdP):

Replace {group-name-normalized} with the name of your Snyk Group. If your Group name includes spaces, replace them with dashes. For example, if your Group name is Your Company Group, then the {group-name-normalized} value is your-company-group.

To map information from your Identity provider to Snyk, name your user attributes as follows, using the same capitalization and spelling:

If your user attributes do not match, note that the Snyk configuration for your SSO will take more time.

SAML information to provide to Snyk

Obtain the following information from your identity provider. Provide this information to Snyk to establish trust on the service-provider side.

Set up OpenID Connect (OIDC) for SSO

The IdP (or issuer URL) must be publicly reachable. If these cannot be made public then SAML should be used rather than OIDC

When using OIDC for the connection between your Identity provider and Snyk, add the Callback/Redirect URIs and OAuth Grant Type in your identity provider to establish trust with Snyk.

OIDC information to provide to Snyk

Obtain the following information from your identity provider. Provide this information to Snyk to establish trust on the service-provider side.

Set up Azure AD as SSO (via App Registration/OIDC)

When using Azure AD for the connection between your Identity provider and Snyk, you must add the Redirect URIs in your Identity provider to establish trust with Snyk.

Use your Azure AD name when authenticating rather than the SCM user account name, or a connection error can occur.

Azure AD information to provide to Snyk

Obtain the following information from your identity provider. Provide this information to Snyk to establish trust on the service-provider side.

Set up ADFS as SSO

When using Active Directory Federation Service (ADFS) for the connection between your Identity provider and Snyk, add the Realm Identifier, a Callback URL, and a Signing certificate in your Identity provider to establish trust with Snyk. For more information, see Connecting Auth0 to an ADFS server (video).

ADFS information to provide to Snyk

Obtain the following information from your Identity provider. Provide this information to Snyk in order to establish trust on the service-provider side.

  • ADFS URL or Federation Metadata XML file

Map Enterprise users

For Enterprise plans, Snyk can map new users to a specific Organization and role when they first sign in using SSO. This option requires additional configuration, including specific naming conventions for organizations.

Work with your Snyk account team to prepare for implementing this SSO option.

Complete SSO connection

After you set up the connection with your Identity provider and provide the necessary details to Snyk Support, Snyk sends you a link to generate a payload.

Ignore any error message you see after clicking this link the first time, as Snyk uses the generated payload to complete the configuration.

When Snyk finishes the configuration, the support agent asks you to navigate to the login page in incognito mode to prevent cookies from interfering with the login process.

Use https://app.snyk.io/login/sso for logging into your production environment.

To complete your login:

  1. Enter your email address.

  2. Select Continue to provider.

  3. Log in with your identity provider as you would for other applications.

  4. Let Snyk Support know which user to promote as the Group administrator.

Resources for SSO setup

These worksheets include the information to enter in your Identity provider and the information you need to collect before submitting a ticket to Snyk Support to request single sign-on.

Last updated

More information

Snyk privacy policy

© 2023 Snyk Limited | All product and company names and logos are trademarks of their respective owners.