This is an Enterprise feature on Novu Cloud. Configure it as the organization Owner from Settings > Organization > Security after we enable self-serve, or email [email protected] and we will do the Novu side with you. Domain verification and activation are covered in SAML SSO & SCIM.
Before you start
- An Enterprise organization on Novu Cloud.
- One or more email domains verified on the Security tab. For SAML, the match is exact.
[email protected]matchesacme.com.[email protected]does not, unless we have enabled subdomain matching. The domain on the connection has to be a registrable domain, such asacme.com, before that can be enabled. - An administrator of the IdP who can create a SAML 2.0 application, set attribute statements, and assign users.
- The ACS URL and entity ID from the Security tab when Custom SAML Provider is selected, or from the message we send.
Create the SAML 2.0 application
1
Create the application and set the service provider values
In the IdP, create a SAML 2.0 application. Set the ACS URL and entity ID to the values from Novu. Some products call these Single sign-on URL and Audience URI (SP Entity ID). Paste Novu’s values into those fields. Do not generate a new entity ID in the IdP and expect Novu to match it.
2
Send these attributes
The attribute name has to match. An email sent as
email, emailAddress, or user.email is not read on a custom SAML connection.mail is required. Without it, the person can authenticate at the IdP and Novu still has no email to attach to an account. Name ID format can also be the email address. Novu still reads the mail attribute. Do not rely on Name ID alone.3
Assign users or groups
Assign the people who should sign in. The control is different in every product. Unassigned users cannot authenticate to the application, even when their email is on the verified domain.
4
Return the IdP metadata
Prefer a metadata URL or a metadata file. That document contains the IdP’s SSO URL, entity ID, and signing certificate, and it is the least error-prone way to hand them over. Paste or upload it on the Security tab, or send it to us.If the IdP has no metadata document, choose manual configuration and provide these three fields:
When that certificate is rotated, update the connection with the new certificate before the IdP stops signing with the old one. On a live connection, the update applies immediately.
Test it, then turn it on
Run a test sign-in with an assigned user whose email is on a verified domain. For a new connection, the test does not change sign-in for anyone else. Activate only after it succeeds.What your users experience
- They enter their work email on the Novu sign-in page. Novu sends them to the IdP and, after a valid SAML response, opens the dashboard.
- An existing Novu account with that email is linked to this login. They keep the account.
- Multi-factor authentication already enabled on the Novu account still runs after the IdP accepts them. MFA at the IdP is the IdP’s own policy.
- IdP-initiated login, where the person starts from an app tile inside the IdP, is not turned on from the Security tab. Ask us if you need it. The flow above, starting at Novu, is the one to use.
- Removing the connection does not delete Novu accounts.
- The first successful sign-in creates the person in Novu if you have not set up custom SCIM. Directory sync is optional, and only if this IdP can push SCIM 2.0.
If sign-in fails
The IdP login works and Novu has no email
The IdP login works and Novu has no email
The attribute is not named
mail, or the value is empty. Rename it to mail and map it to the primary email. Do not use the Okta expression user.profile.email or the Google app attribute email on this connection unless that string is actually the attribute name your IdP sends.The audience or destination does not match
The audience or destination does not match
The ACS URL and entity ID in the IdP have to be the values from Novu. The SSO URL and issuer you send back are the IdP’s values. Mixing those two pairs fails validation.
The user has an account in the directory
The user has an account in the directory
They still need to be assigned to the SAML application. How you assign them depends on the product.
A certificate error started after a renewal
A certificate error started after a renewal
The connection is still verifying signatures with the previous certificate. Upload the new signing certificate, or send it to us, before you remove the old one at the IdP.