Domain verification
Domain verification confirms that your organization controls an email domain,
such as example.com. Verify your domains by publishing DNS TXT records before
configuring SSO or SCIM for your Workspace.
Prerequisites
- The Workspace Owner or Workspace Manager Role in the Workspace
- Access to manage DNS records for the domain
Verifying a domain
Verify each email domain your users sign in with. A verified domain doesn’t
cover its subdomains, so verify eu.example.com separately from example.com.
Open the Identity and Provisioning tab on the Workspace Management settings page.
In the Verified domains section, click Add domain and enter the domain.
With your DNS provider, add the TXT record shown in the dialog:
Type Name Value TXT _modal-identity-challenge.<domain>modal=<workspace-id>The dialog shows the exact name and value for your Workspace.
Click Verify domain. DNS changes usually take a few minutes to propagate, but can take longer based on your DNS provider.
Once Modal finds the record, the domain’s status changes to Verified. Verification is a one-time check: Modal doesn’t look up the record again, so you can delete the TXT record after the domain is verified.
SSO and SCIM setup
You need at least one verified domain before you can link your Workspace to an identity provider (IdP) for SSO or generate a SCIM token. Until then, the Single Sign-On (SSO) and SCIM tokens sections on the Identity and Provisioning tab ask you to verify a domain.
Provisioning users
Your IdP can only add users whose email address is on one of your Workspace’s verified domains. Modal checks the email domain when a user is provisioned:
- When your IdP creates or re-adds a user through SCIM
- When a user signs in through SSO for the first time and Just-In-Time account provisioning adds them to the Workspace
Modal doesn’t check the domain each time a user signs in.
Removing a domain
Open the menu next to the domain in the Verified domains list and select Delete domain. Your IdP can no longer provision users with that email domain, but users who are already in your Workspace can keep signing in through SSO. To add the domain back, you need to verify it again.
Troubleshooting
Modal can’t find the TXT record
- Wait a few minutes and try again. DNS changes typically take a few minutes to a few hours to propagate.
- Some DNS providers add your domain to the record name automatically. If yours
does, enter only
_modal-identity-challengeas the name. Otherwise, the record is published at_modal-identity-challenge.example.com.example.com. - Enter the value exactly as shown in the dialog, without extra spaces or quotes.
To check what’s published, run:
dig +short TXT _modal-identity-challenge.example.comThe output should include your record’s value.
Other issues
If you have any issues with or questions about domain verification, reach out via Slack or email us at support@modal.com.