Single sign-on (SAML SSO)
Enterprise organizations can let people authenticate to Mindsmith through a SAML identity provider. An organization Admin configures SSO under Settings → Security in Organization Settings.
SSO handles sign-in, not organization membership. A person's first successful SAML sign-in can create their Mindsmith account, but it does not by itself add them to the organization. Add people to the organization by invitation or, when available, Directory Sync. Assign an author seat in Mindsmith if a person needs to create content.
Configure your identity provider
Open the service-provider configuration page for your region:
US:
https://app.mindsmith.ai/.well-known/saml-configurationEU:
https://eu.mindsmith.ai/.well-known/saml-configuration
That page provides the current entity ID, assertion consumer service URL, response and signature requirements, encryption certificate, and downloadable service-provider metadata. Use those values to create a SAML application in your identity provider.
Download or copy the identity provider’s metadata XML after its SAML application is ready.
Add the provider to Mindsmith
Open Settings → Security in the Enterprise organization.
Select Add SAML Provider.
Paste the identity provider metadata XML.
Select Save Configuration.
Under Authorized domains, select Add domain and add each email domain that should use this provider. Each domain needs a DNS record first, as described in the next section.
Enter the domain without an email address or protocol, such as example.com. SSO only signs in people whose email address is on one of these domains, so add every domain your people use, including regional or secondary ones. You can edit the provider metadata later or remove a provider or domain from the same page.
Verify your domain
Before Mindsmith adds a domain, it checks for a DNS TXT record that shows your organization controls the domain. This stops another organization from claiming your domain and signing in as your people.
Type the domain in the Add authorized domain dialog. Mindsmith shows the record's Name and Value, with copy buttons.
At your DNS provider, add a TXT record with that name and value. The name looks like
_mindsmith-verification.example.com, and the value looks likemindsmith-domain-verification=followed by an ID for your organization or enterprise.Once the record is live, select Add domain. Mindsmith looks the record up right away.
Some DNS providers add your domain to the record name for you. If yours does, enter only _mindsmith-verification as the name.
Each domain needs its own record. An enterprise and each of its organizations have different values, so copy the value from the page where you're adding the domain. Mindsmith checks the record only when you add a domain, and domains already on your list keep working.
Attributes
Mindsmith reads the attributes below. It ignores roles and groups, so you can leave those out.
Email (required): send the person's real email address in
mail. Mindsmith also acceptshttp://schemas.microsoft.com/identity/claims/mail,http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress, oremail, and uses the first one that holds a valid email address, in that order.First name and last name (optional): send
firstNameandlastName, or thehttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/givennameandhttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/surnameclaims. Mindsmith uses them for the person's display name. The short namesgivennameandsurnameare not read.NameID: use a value that does not change for the person. The simplest setup is the email address format with the same address as
mail. Don't also send an attribute namedidor thehttp://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifierclaim: Mindsmith uses either one in place of NameID to identify the person.
Use mail even if your provider's username, UPN, or NameID differs from the email used in Mindsmith. Some providers fill the emailaddress claim with the UPN when the person has no email set, which is why mail comes first. If none of the email attributes holds a valid address, Mindsmith uses NameID when it is an email address. If no valid email address is present at all, sign-in cannot complete. The address also determines which Mindsmith account is used, so it should match the address used for the person's invitation or directory record.
Sign both the SAML response and the assertion with RSA-SHA256, as the configuration page lists.
How people sign in
Open the Mindsmith SSO sign-in page.
Enter a work email address.
Select Continue with SSO.
Complete authentication with the organization’s identity provider.
Mindsmith uses the email domain to choose the configured provider and the correct US or EU region.
Launch from an identity-provider portal
An identity-provider bookmark or application tile can begin the same service-provider-initiated flow:
https://app.mindsmith.ai/auth/sso/launch?domain=example.com
Use eu.mindsmith.ai for an EU organization. Replace example.com with a domain already listed under Authorized domains.
To return a person to a particular Mindsmith page after sign-in, add a relative callbackUrl, for example:
https://app.mindsmith.ai/auth/sso/launch?domain=example.com&callbackUrl=/dashboard
Only paths within Mindsmith are accepted.
Point the tile at this launch link. Mindsmith does not support identity-provider-initiated sign-in, which is the default for a new SAML app in many providers, so a tile that posts an assertion straight to the ACS URL will not sign people in.
Troubleshooting
Mindsmith can't find the TXT record: a new DNS record can take a few minutes to appear, sometimes longer. Check that the value matches exactly and that the name isn't doubled, such as
_mindsmith-verification.example.com.example.com, then try again.Mindsmith couldn't check the DNS records: the lookup failed. Try again in a few minutes.
The email domain is not recognized: confirm it is listed under Authorized domains for the provider.
Some people can't sign in with SSO: the email your identity provider sends for them is on a domain that isn't under Authorized domains. Add that domain, or send an address on a listed domain in
mail.An unexpected email or account is used: verify that the SAML
mailattribute contains the person's intended work email and matches any invitation or directory record.A person signs in but cannot see the organization: invite or provision the person into that organization and confirm the membership is active.
Sign-in works from the Mindsmith page but not from the portal tile: set the tile's URL to the launch link above instead of using identity-provider-initiated sign-in.
The provider certificate or endpoints changed: update the provider with fresh metadata XML.
The user lands in the wrong region: use the configuration and launch URLs for the organization’s region; Mindsmith also attempts to route recognized domains correctly.
For attribute mapping and identity-provider setup guides, see the BoxyHQ SSO documentation.
