Appearance
SAML SSO Preview Optional feature
In SAML SSO under organization settings, you register a SAML identity provider (IdP) so that people with an email address on a verified domain can sign in through it. Only an organization owner can make these changes.
INFO
This feature is in preview. To request access, contact Codatum support.
TIP
This is an optional feature. Depending on your contract, it might not be available.
How SAML SSO works
You turn on SSO for each domain verified in Domains. After you turn it on, people who sign in with an email address on that domain see Sign in with SSO. They authenticate with your organization's IdP, such as Okta, Google Workspace, or Microsoft Entra ID, and are signed in to Codatum.
- SSO applies to every account with an email address on the domain, whether or not the account belongs to a workspace in your organization.
- Password and Google sign-in remain available after you turn on SSO. To allow only SSO, require SSO for the domain (Requiring SSO).
- For the sign-in flow on the user side, see Signing in with SSO.
You set up SSO in the following order.
Adding an identity provider
The following prerequisites apply.
- Only an organization owner can make these changes.
- Verify the domain that will use SSO in Domains.
- You need to be able to create a SAML app in your IdP.
- The SAML SSO menu is shown when this feature is available.
- Open the workspace icon at the top of the global nav > Organization settings > SAML SSO.
- Select Add identity provider.
- In Name, enter a name that identifies the IdP, then select Add.
The new IdP appears in the list as Not configured. Under Set these in your IdP, the SP entity ID and ACS URL to register in your IdP are shown.
Setting up your IdP
Create a SAML app in your IdP and register the Codatum values. Every IdP needs the following three settings.
| Setting in your IdP | Value |
|---|---|
| SP entity ID (audience) | The SP entity ID shown in Codatum. |
| ACS URL (reply URL) | The ACS URL shown in Codatum. |
| NameID | The user's email address. The format is urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress. |
If the NameID isn't an email address, sign-in fails. You also need to assign users to the app in your IdP.
After you create the app, note the following three values from your IdP. You use them in Entering IdP settings.
- The IdP entity ID (issuer)
- The SSO URL
- The X.509 signing certificate (PEM format)
Screen names in your IdP might change. For details, see your IdP's documentation.
Okta
- In the Okta admin console, open Applications > Applications > Create App Integration.
- For Sign-in method, select SAML 2.0, then select Next.
- Enter any name in App name, then select Next.
- In Configure SAML, enter the following, then select Next:
- Single sign-on URL: the Codatum ACS URL
- Use this for Recipient URL and Destination URL: on (on by default)
- Audience URI (SP Entity ID): the Codatum SP entity ID
- Name ID format: EmailAddress
- Application username: Email
- In Feedback, select that this is an internal app you created, then select Finish.
- On the Assignments tab, assign the users or groups who will sign in.
- On the Sign On tab, open More details under Metadata details, and note the Sign on URL, the Issuer, and the Signing Certificate.
In Codatum, enter the Issuer in IdP entity ID and the Sign on URL in SSO URL. In X.509 certificates, paste the contents of the file (PEM format) saved with Download for the signing certificate.
Google Workspace
You need super administrator privileges in Google Workspace.
- In the Google Admin console, open Apps > Web and mobile apps.
- Select Add app > Add custom SAML app.
- Enter any name for the app, then select Continue.
- In Google Identity Provider details, note the SSO URL, the Entity ID, and the Certificate, then select Continue.
- In Service provider details, enter the following, then select Continue:
- ACS URL: the Codatum ACS URL
- Entity ID: the Codatum SP entity ID
- Signed response: leave it off
- Name ID format: EMAIL
- Name ID: Basic Information > Primary email (the default)
- Select Finish without adding attribute mappings.
- Open User access for the app, set Service status to On for the organizational units or groups who will sign in, then select Save.
In Codatum, enter the Entity ID from step 4 in IdP entity ID and the SSO URL in SSO URL. In X.509 certificates, paste the contents of the certificate (from -----BEGIN CERTIFICATE----- through -----END CERTIFICATE-----).
A newly created app is off for all users.
Microsoft Entra ID
The labels below are the names shown when the Microsoft Entra admin center is displayed in English.
- In the Microsoft Entra admin center, open Enterprise applications > New application > Create your own application.
- Select Integrate any other application you don't find in the gallery (Non-gallery), then create the app.
- In the app's Single sign-on, select SAML.
- In Basic SAML Configuration, enter the following:
- Identifier (Entity ID): the Codatum SP entity ID
- Reply URL (Assertion Consumer Service URL): the Codatum ACS URL
- In Attributes & Claims, set the format of Unique User Identifier (Name ID) to Email address, and choose a source attribute that holds the user's email address.
- If the user principal name (
user.userprincipalname) differs from the email address, chooseuser.mail.
- If the user principal name (
- In SAML Certificates, download Certificate (Base64).
- In Set up (app name), note the Login URL and the Microsoft Entra Identifier.
- In Users and groups, assign the users or groups who will sign in.
In Codatum, enter the Microsoft Entra Identifier in IdP entity ID and the Login URL in SSO URL. In X.509 certificates, paste the contents of the downloaded certificate.
Entering IdP settings
- Open the workspace icon at the top of the global nav > Organization settings > SAML SSO.
- For the IdP, select Enter IdP settings. For an IdP that already has settings, select Edit.
- Enter IdP entity ID, SSO URL, and X.509 certificates, then select Save.
After you save, the IdP status becomes Draft, and Domains that use SSO appears.
Testing sign-in and enabling SSO
You check the IdP with a test sign-in first, and then enable SSO for each domain. One test sign-in per IdP covers all verified domains of the organization. A test sign-in doesn't change how users sign in.
- Open the workspace icon at the top of the global nav > Organization settings > SAML SSO.
- In Domains that use SSO for the IdP, select Test sign-in.
- In the window that opens, sign in to your IdP as a user with an email address on a verified domain of the organization.
- Confirm that a success message appears and that Domains that use SSO shows Tested.
- For the domain where you want to enable SSO, select Enable SSO, then select Enable SSO in the confirmation dialog.
After you enable it, the domain status becomes SSO enabled and the IdP status becomes Active. To use SSO on more than one domain, select Enable SSO for each domain.
The email address you use for the test sign-in doesn't have to be on the domain where you enable SSO. You can enable SSO with a tested IdP even for a domain that differs from your own email address. Before you enable it, assign the users on that domain to the app in your IdP.
You can follow the same steps for a domain that already uses SSO with another IdP. After you switch, people on that domain sign in with the new IdP. To migrate to a new IdP, add and test the new IdP, switch the domain to it, then disable the old IdP.
Requiring SSO
You can require SSO for a domain where SSO is enabled. After you require it, accounts with an email address on that domain can sign in only through your organization's IdP.
Before you begin:
- Only organization owners can do this.
- The domain status must be SSO enabled. You can't require SSO for a domain that shows the TXT record not confirmed warning.
- Assign the affected users to the app in your IdP. Users who aren't assigned can't sign in after you require SSO.
- Open the workspace icon at the top of the global nav > Organization settings > SAML SSO.
- For the domain, select Require SSO.
- Check the number of affected accounts in the confirmation dialog, then select Require SSO.
After you require it, the domain shows SSO required. To remove the requirement, select Stop requiring SSO, then select Stop requiring in the confirmation dialog. SSO stays enabled.
Requirement specifications
- The requirement applies to every account with an email address on the domain. It includes accounts that belong only to workspaces of other organizations.
- The number in the confirmation dialog counts accounts that have already been created in Codatum. It doesn't include accounts that are asked for SSO by another domain.
- Affected accounts can't sign in with a password or Google. The sign-in page shows only Sign in with SSO.
- A browser that is signed in with a password or Google isn't signed out immediately. It's signed out within one hour after you require SSO, or earlier when the page is reloaded or the workspace is switched. The sign-in page then shows "This account requires SSO. Sign in with SSO."
- Sign-in & security doesn't show Change email for affected accounts.
- An affected account is still asked for SSO with the same IdP while the requirement is on, even if its email address changes to another domain.
- When you stop requiring SSO, no account is affected anymore. When you require SSO again, the accounts that have an email address on the domain at that time are affected.
- Switching the domain's SSO to another IdP doesn't change the requirement. After the switch, users must sign in with the new IdP. Before you switch, assign the affected users to the app in the new IdP. Users who aren't assigned can no longer sign in.
- The requirement is also removed when you stop SSO, disable the IdP, or revoke the domain, or when the SSO settings are removed.
- If organization owners can't sign in to remove the requirement, for example because of an IdP outage, contact Codatum support.
Stopping SSO
- Open the workspace icon at the top of the global nav > Organization settings > SAML SSO.
- For the domain, select Stop SSO, then select Stop SSO in the confirmation dialog.
After you stop it, people can't sign in with SSO using an email address on that domain. If SSO was required for the domain, the requirement is also removed. The test result is kept, so you can select Enable SSO again without testing again.
Disabling and deleting an identity provider
- Open the workspace icon at the top of the global nav > Organization settings > SAML SSO.
- For the IdP, select one of the following:
- Disable: In the confirmation dialog, select Disable identity provider.
- Delete: In the confirmation dialog, select Delete identity provider.
When you Disable an IdP, sign-in and test sign-in with it stop. SSO stops on every domain that used the IdP. For domains that required SSO, the requirement is also removed. The settings and test results are kept. Selecting Enable returns the IdP to Draft. To resume SSO, select Enable SSO again for each domain.
Delete can't be undone. You can't delete an Active IdP, so disable it first. To use a deleted IdP again, add it as a new IdP and register the new SP entity ID in your IdP.
Rotating certificates
When you renew the IdP's signing certificate, register the old and new certificates side by side so that sign-in keeps working during the switch.
- For the IdP, select Edit, add the new certificate with Add certificate, then select Save.
- In your IdP, switch the signing certificate to the new one.
- Select Edit again, select Remove for the old certificate, then select Save.
Changing only the certificates doesn't clear test results.
Display and actions
Each IdP shows the following items.
| Display / action | Description |
|---|---|
| Add identity provider | Adds an IdP with a name. The SP entity ID and ACS URL are issued after you add it. |
| Status | Not configured, Draft, Active, or Disabled (see Identity provider status). |
| SP entity ID | The SP entity ID to register in your IdP. It's unique to each IdP and can't be changed. |
| ACS URL | The reply URL to register in your IdP. |
| IdP entity ID | The entity ID (issuer) issued by your IdP. |
| SSO URL | The SSO URL of your IdP. Only https URLs are accepted. |
| Certificates | The number of registered X.509 certificates. |
| Test sign-in | Signs in to your IdP and checks whether sign-in works with this IdP's settings. On success, Tested is shown. |
| Domains that use SSO | The organization's verified domains and their status for this IdP (see Domain status). |
| Enable SSO | Makes this IdP the SSO destination for the domain. Shown when the IdP is Tested. |
| Stop SSO | Stops SSO for a domain that shows SSO enabled. |
| Require SSO | Blocks sign-in methods other than SSO for a domain that shows SSO enabled (Requiring SSO). |
| Stop requiring SSO | Allows password and Google sign-in again for a domain that shows SSO required. |
| Edit | Changes the name and IdP settings. |
| Enable | Returns a Disabled IdP to Draft. |
| Disable | Stops sign-in with the IdP. The settings are kept. |
| Delete | Deletes the IdP. Not shown for an Active IdP. |
| Resync | Shown when saved settings haven't been applied. Selecting it applies them again. |
Identity provider status
| Status | Description |
|---|---|
| Not configured | Only the name is registered. You can't test sign-in or enable SSO. |
| Draft | IdP settings are entered, and SSO isn't enabled on any domain. You can test sign-in. |
| Active | SSO has been enabled on at least one domain. The IdP stays Active even if you later stop SSO on the domain. |
| Disabled | Sign-in and test sign-in aren't available. The settings are kept. |
The Domains that use SSO heading shows the test sign-in status.
| Label | Description |
|---|---|
| Not tested | No test sign-in has been done with this IdP. SSO can't be enabled. |
| Tested | A test sign-in with this IdP succeeded. You can select Enable SSO for each domain. |
Domain status
| Status | Description |
|---|---|
| (No label) | SSO isn't enabled with this IdP. |
| SSO enabled | This IdP is the SSO destination for the domain. |
| TXT record not confirmed | SSO can't be enabled because the domain recheck couldn't confirm the TXT record. |
A domain that uses SSO with another IdP shows SSO is enabled with "(IdP name)".
A domain that requires SSO shows SSO required in addition to SSO enabled.
Constraints
- A domain can use only one IdP for SSO. One IdP can be used for multiple domains in the organization.
- An organization can register up to five IdPs. Deleted IdPs don't count.
- Name can be up to 100 characters.
- Each IdP can have one to three X.509 certificates. Enter one PEM-format certificate per field. Expired certificates can't be registered.
- Changing IdP entity ID or SSO URL returns the IdP to Not tested. SSO doesn't stop on domains where it's already enabled, but you need another test sign-in before you enable SSO on a domain.
- Revoking a domain stops SSO for that domain.
- While a domain shows the TXT record not confirmed warning, you can't enable or require SSO for it. Sign-in with SSO that is already enabled keeps working, and an existing requirement stays in effect. If it still can't be confirmed after 30 days, the SSO settings for that domain are removed (When SSO settings are removed).
- Sign-in starts from the Codatum sign-in page. Sign-in started from the IdP, such as from the IdP's dashboard, isn't supported.
- After the feature becomes unavailable under your contract, you can still open the list from the menu if IdPs already exist. You can disable and delete existing IdPs. You can't add IdPs or change their settings.
The limits are also listed in Limits.
When test sign-in doesn't succeed
The test sign-in result appears inside the IdP card. Check the following based on the message.
- If sign-in with the IdP failed, confirm that the SP entity ID and ACS URL in your IdP match what Codatum shows.
- Then confirm that IdP entity ID, SSO URL, and the certificate entered in Codatum match the values in your IdP.
- If the message says the NameID isn't an email address, set the NameID to the email address in your IdP.
- If the message says the domain isn't a verified domain, sign in again with an email address on one of your organization's verified domains.
- If the message says the TXT record couldn't be confirmed, restore the TXT record and verify the domain again in Domains.
If the message says the sign-in window was blocked, allow pop-ups for Codatum in your browser, then select Test sign-in again.
When "The latest settings have not been applied" appears
This means saved settings couldn't be applied to the settings used for sign-in. The settings themselves are saved. While it appears, you can't select Test sign-in.
- Select Resync.
- If the message doesn't disappear, wait a while, then select Resync again.
If the message still doesn't disappear, contact Codatum support.