Skip to content
English
  • There are no suggestions because the search field is empty.

How to configure single sign-on (SSO) for ContractSafe

Set up SAML 2 single sign-on so your team logs in to ContractSafe with Okta, Azure Active Directory or another identity provider.

Using SAML 2, ContractSafe lets users log in with their identity provider, such as Okta or Azure Active Directory. An admin sets up single sign-on (SSO) from Settings > Security & Integrations > Single Sign-On Settings. This article is a step-by-step guide to configuring SSO and covers common troubleshooting issues.

Before you change your SSO settings

Caution: Before making changes to the SSO settings, please make your account SSO Excluded; admin level access is required. Here's how to set up SSO exclusions.

DO NOT USE the pre-built Okta integration to ContractSafe. If you use Okta, make a new custom integration instead. The one in the integrations list will not work.

Tip: If you're upgrading to our new SP-initiated SSO, don't remove the configuration for the existing IdP-initiated SSO until you've confirmed that the new settings are working. We encourage you to create a new app in your identity provider so that you can fully test SSO settings without affecting your users' existing workflow.

When you enter the SSO settings dialog as a customer with an existing SSO integration, you'll see two tabs: IdP-initiated (the legacy SSO integration) and SP-initiated (the new SSO integration). The screenshots below only reflect the new SP-initiated settings tab.

Note: SSO is available on the Finalize and Maximize plans. It's not available on Trial accounts or the Organize plan.

Need more details? Please contact us at support@contractsafe.com; we'll gladly assist you!

This is a general guide and should help you configure single sign-on for all providers. New to SSO? Start with what single sign-on is. If you use Azure, follow the Azure Active Directory SAML 2.0 setup instructions alongside this guide. If you encounter any difficulties, please reach out to our support. Now, let's start!

Create the SSO provider

  1. From the Settings page, select the Security & Integrations button.
  2. Click the Single Sign-On Settings button.
  3. Look for the ContractSafe Metadata URL & Entity ID, and copy the pre-generated URL link.
    Opening Single Sign-On Settings from Security & Integrations and copying the ContractSafe Metadata URL & Entity ID

It isn't necessary to enable SSO login at this point. Keep the SSO toggle disabled until you're sure that all the settings below are properly set up, otherwise other users might get locked out of ContractSafe.

Check the email domain

  1. In the Single Sign-On Settings dialog, confirm that the Email Domain matches the domain of your users' email addresses.
  2. If it's incorrect or empty, contact ContractSafe at support@contractsafe.com with the desired email domain so that it can be added.

Only ContractSafe Support is able to add email domains on the account. You won't be able to edit the listed domains or add anything if it's blank.

You may continue configuring and testing single sign-on with your identity provider while support is setting your email domains.

Set up your identity provider

  1. Use the details provided in the Single Sign-On Settings dialog to configure your identity provider.
  2. Add an attribute or claim to the payload you send us with a name of email. This is how your identity provider tells us which user it is.
  3. For some identity providers, the metadata URL may be the best to use, while others may require the ACS URL.
  4. Obtain a metadata URL from your identity provider to provide to ContractSafe to complete the setup.
  5. Paste the metadata URL into the Single Sign-On Settings dialog.

Test the SSO configuration

  1. Copy the Login URL from the Single Sign-On Settings dialog.
  2. Log out of ContractSafe or open a private browsing window.
  3. Paste the URL into your browser; it should redirect to your identity provider.
  4. After logging in, you should be redirected back to ContractSafe.
  5. If successful, a message confirming SSO is not enabled will appear.

Enable single sign-on for your organization

  1. If the test is successful, go to Settings, then click Security & Integrations.
  2. Activate the toggle labeled Single Sign-On to enable it for your organization.

Troubleshooting SSO login issues

Logging in with a password manager

When you enter an email on the login page, our system uses the email's domain to determine whether or not the email belongs to an organization that has SSO enabled. If enabled, the page will send you to the single sign-on login. If a password is entered with the email, the password is preserved (but hidden) on the SSO login page and tries to log in the user with their password instead of through SSO. This is to support SSO-exempt users, since other users won't have passwords for the site.

A password manager will automatically fill in the email and password on the login page and then bring them to the SSO login page with the password hidden. If the user has an email and password in their password manager but isn't SSO exempt.

SSO and Password Managers Login Troubleshooting

Which signing and digest algorithms are supported?

We don't support the deprecated SHA-1 algorithm. We recommend at least SHA-256.

I need to change my email domain

Email domains must currently be configured by ContractSafe support. To change your email domains, please reach out to support with the email domains that your users should be able to use single sign-on with.

It says an "internal error" has occurred

This is most often caused by the "email" parameter not being configured correctly. Make sure that the email is being passed along in the SAML 2 response in a parameter called "email".

It says "Sign Up Closed"

This page is admittedly confusing; it means that the email address we see in the SSO launch hasn't been invited to your organization. Make sure that you're sending the correct email address for the user, and that you've invited the user to your organization.

It says "SSO domain does not match"

This happens when your SSO email domain doesn't match the email for the user you're trying to log in with. Confirm that your identity provider is sending the correct email address to us, and check your Single Sign-On Settings to make sure that the Email Domain matches. If the email domain is incorrect, please reach out to support to change your email domain.

It says to add my email domain

Awesome, you're well on your way to having single sign-on configured! Now, reach out to support and let them know what email domain you want to use.

My identity provider doesn't give me a metadata URL

Some identity providers, such as Google Workspace, don't give a public metadata URL. If your identity provider doesn't give you a metadata URL to set in our configuration, they'll usually let you download a metadata XML file. Upload this XML to a web server you control, then set that URL as the Metadata URL.

It gives an error when I try to use the Login with SSO Provider button

The Login with SSO Provider button on the login page only works with our service provider-initiated (SP-initiated) single sign-on configuration. If you have only our legacy identity provider-initiated (IdP-initiated) SSO configured, you'll get an error that informs you that
"Your organization uses our legacy SSO setup. Please log in via your SSO provider portal or contact your admin to set up SP-initiated SSO for your organization."

If you see this message and would like to use the Login with SSO Provider button on the login page, follow the instructions on this page to set up service provider-initiated single sign-on.

I want to change my legacy IdP-initiated SSO settings

If you need to change your SSO settings for our legacy identity provider-initiated single sign-on, look for the IdP-initiated tab in the Single Sign-On Settings dialog. Only organizations that previously had SSO set up for their organization will see this tab. If you have a special need to use our legacy IdP-initiated SSO and this tab isn't available for you, please contact support.

Additional support

For further assistance or questions, please reach out to support@contractsafe.com.