SSO Troubleshooting — Connection Test & Sign-in Error Messages

Troubleshoot when the SSO connection test fails or team members can't sign in with team SSO (SAML · Google Workspace). Covers causes and fixes for each error message, domain verification errors, rolling back when SSO is broken and no one can get in, rotating certificates, and viewing failure reasons in the audit log. Keywords: SSO error, SAML error, connection test failed, couldn't verify the response, not invited, SSO is not configured.

Updated

If you're setting up SSO and the connection test fails, or team members can't sign in with their company accounts, the table below lists the cause and fix for each message. For setup steps, see Sign in with SSO — SAML · Google Workspace. For team member sign-in, see Sign in with your company account (SSO) — Team member guide.

When the connection test fails

Where do I find the reason for the failure?

The test window (opened in a new tab) shows "The connection test failed" along with the reason, and the SAML SSO settings page shows the same reason after "The connection test failed." When you reopen it later, it appears as "Last connection test failed — (reason)." Even if the connection test fails, the SAML SSO you already turned on and team member sign-in remain as they are.

Connection test failure result shown in a new windowConnection test failure reason shown on the settings screen

Causes and fixes for each message

MessageCommon causeFix
SSO sign-in is only possible with an email from a domain this workspace has verified.The company account used in the test has an email domain that is not a verified allowed domain. Or the Name ID is not an email address (e.g., an employee number).Retest with a company account on a verified domain. Configure the identity provider to send the email address as the Name ID.
Could not verify the response from the identity provider.① The public certificate differs from the one the identity provider is currently using to sign ② The ACS URL or Entity ID entered in the identity provider differs from Lenit's values by even one character ③ The identity provider Entity ID was entered incorrectly ④ Assertion encryption is turned on ⑤ The clock on a self-hosted identity provider's server is off by more than a few minutesCopy the certificate again from the identity provider and paste it in. Re-enter the ACS URL and Entity ID by using the copy buttons on Lenit's screen. If you don't know the identity provider Entity ID, leave it blank (it will be filled in on the first test). Turn off assertion encryption.
The SAML settings are not valid. Please check the identity provider SSO URL (https) and the public certificate.The SSO URL does not start with https://, the certificate is not in the correct format, or the certificate has already expired.Enter an https:// URL and a certificate that starts with -----BEGIN CERTIFICATE-----. Expired certificates cannot be saved.
No result was received within 3 minutes.Sign-in was not completed in the new window, or the window was blocked.Check that you completed authentication in the new window, then retest. If the window does not open, click "Didn't the new window open? Click here to open it."

An error appears on the identity provider's screen

Errors such as "You don't have access to this app" are caused by the identity provider's settings. Assign the account (or group) to the Lenit app in the identity provider. For Google Workspace, turn on User access for the app; it may take up to 24 hours to take effect.

Domain verification errors

MessageMeaning and fix
Could not check the DNS record. Please try again shortly.The TXT record is not visible yet. Make sure you entered the name and value exactly as shown on the screen. It may take up to 48 hours to propagate.
Public email domains such as gmail.com or naver.com cannot be verified.Only domains your company owns can be verified.
This domain is already verified by another workspace.A verified domain can belong to only one workspace. If it is your company domain, contact Lenit support.
The domain format is not valid.Enter only the domain name, such as mysite.com (without https:// or @).
The last verified domain cannot be removed because email and password sign-in is turned off.While SSO is required, the last domain cannot be removed. First turn email and password sign-in back on.

When team members can't sign in

Message shown to the team memberCommon causeFix
SSO is not configured for this email domain.No workspace has verified that email domain, SSO has not been turned on yet, or the workspace plan is below Pro.Check the email for typos. The owner should verify the domain, turn on SAML SSO, and check the plan.
You have not been invited to this workspace.The person is not a member and has no pending invitation, and auto-join is turned off.An admin can invite them, or turn on Auto-join.
All workspace seats are taken.Auto-join was attempted but all seats are in use.Add seats or remove members who are no longer using the workspace.
SSO sign-in is only possible with an email from a domain this workspace has verified.The email sent by the company account (identity provider) is not on a verified domain.Check the email address (Name ID) from the identity provider.
This account is already linked to a different SSO account.The same Lenit account previously signed in with a different company account (a different Name ID). This happens when the account was recreated in the identity provider.Make sure the identity provider sends the same value as before for the Name ID. If that doesn't work, contact Lenit support.
Could not verify the response from the identity provider.The settings changed (for example, the certificate was replaced) or sign-in was not completed in time.Sign in again from the beginning. If it continues, the owner should check with the connection test.
This workspace requires sign-in with SSO.You tried to sign in with a password or personal Google or Apple account to a workspace where email and password sign-in is off, or with Google or Apple to a workspace where Google Workspace sign-in is off. Owners also see this message when they enter the wrong password (so that the owner's identity is not revealed).Use Sign in with SAML SSO below the message to sign in with your company account. If you are the owner, check your password again.
SSO is available from the Pro plan.The workspace is on the Starter or Free plan (shown when you arrive directly from the identity provider screen).The owner should upgrade the plan to Pro or higher.
Notice shown to someone who has not been invited

When settings can't be changed

MessageMeaning and fix
Only the owner can make this change.Only the workspace owner can change SSO settings. Admins can only view them.
SSO is available from the Pro plan.The plan is Starter or Free, so changes cannot be made. Settings you entered are kept. Upgrade the plan to Pro or higher.
You cannot change the sign-in method this way. To turn off email and password, you need a verified domain, an SSO method that has passed the connection test, and owner two-step verification. You cannot turn off all sign-in methods.The conditions for turning off email and password have not been met yet, or you tried to turn off the last remaining SSO method. Follow the to-do list below the toggle.
Email and password sign-in is turned off, so the last SSO sign-in method cannot be turned off. Please turn email and password back on first.While SSO is required, turning off the last remaining method (SAML SSO or Google Workspace sign-in) would lock everyone out, so it is blocked. Turn on email and password first.

When no one can sign in

SSO is broken and no team member can sign in.

As an emergency measure, the owner can still sign in with the current method (email and password, or Google sign-in). If the owner turns email and password back on under Settings > Advanced > SSO·SAML, team members can immediately sign in with the previous method. Then use Save and run connection test to find and fix the cause, and turn it off again.

Only specific team members fail to sign in.

Expand the "SSO sign-in failed" entries in Settings > Advanced > Audit log to see the failure reason codes. If the same kind of failure occurs several times within 10 minutes, the first one is recorded separately, and the rest are grouped into a single entry after 10 minutes, showing the count per reason (so that people who never sign in cannot fill up the audit log). Common causes are: not assigned to the Lenit app in the identity provider, the identity provider email differs from the Lenit account email, and invitation or seat issues.

Sign-in stopped working after I replaced the certificate.

If you changed the signing certificate in the identity provider but Lenit's public certificate is still the old one, the response cannot be verified. Paste the new certificate into public certificate and save (you can hold up to two certificates at once, so you can switch without interruption). Next time, add the new certificate before changing it in the identity provider.

Frequently Asked Questions

There is no Microsoft button on the login screen.

There is no separate Microsoft login button. If you use Microsoft Entra ID (formerly Azure AD), connect it through SAML SSO, and team members sign in by entering their work email under Sign in with SAML SSO.

If I sign out of my company account, will I also be signed out of Lenny?

No. Single logout (SLO) is not supported. You will be signed out of Lenny only when you sign out of Lenny directly, when the session length for a workspace that requires SSO expires, or when the owner turns off that sign-in method (SAML SSO or Google Workspace sign-in).

Do I need to turn on assertion encryption?

No. Assertion encryption is not supported. If it is enabled, sign-in will fail with "We could not verify the response from the identity provider." Please turn it off in your identity provider. For signing settings, you can keep the identity provider's default values.

Powered by Lenit