Single sign-on problems
Every single sign-on problem in one place: not set up, a failure after Microsoft or Google, a domain mismatch, no account found, a missing button, a blocked leaver, a refused Gmail account, another domain and an expired setup link.
Single sign-on can fail at several points. Find what the employee sees, then follow the fix. Most problems are fixed in your company's app at Microsoft (Entra ID) or Google Cloud, or in the employee's record in CLVR. Trying the same sign-in again rarely helps.
While you fix it, employees on the domain can sign in with BankID, if your company has it.
What the error screen says
When single sign-on fails, the employee lands back on the sign-in page. Most errors show We couldn't sign you in with one line under it, and a Try again button. The line is one of these, in the employee's language:
| The line starts with | Usual causes | Section |
|---|---|---|
| Single sign-on is not configured for your company. | The setup isn't finished, is turned off, or is missing a value such as the client secret | Single sign-on is not set up |
| Something went wrong with single sign-on. | CLVR couldn't finish the sign-in with Microsoft or Google, the account is on another domain, or the sign-in started in another browser | Sign-in fails after Microsoft or Google, and Email domain mismatch |
The line doesn't say which step failed. CLVR can see the reason for most failed sign-ins in its sign-in log. If the sections below don't find it, ask CLVR, with the employee's email and the time they tried.
Other problems have their own message: No account found for this email address., Account terminated and Access temporarily disabled. Each has a section below.
Single sign-on is not set up
The employee selected Continue with Microsoft or Continue with Google, but CLVR has no complete setup for their domain. The screen says Single sign-on is not configured for your company.
A setup only counts when all of this is true:
- Sign-in with that provider is turned on for your company.
- The saved setup has every value: the domain, the client ID, the client secret, and for Microsoft the tenant ID.
- The domain matches the part of the employee's email after @.
Common causes:
- IT never finished the form. They opened the link but didn't select Save and enable.
- Single sign-on was turned off or changed. The sign-in page remembers the company on a device, so the button can still show there. Select Use email instead below the button.
To fix it:
Sign-in fails after Microsoft or Google
The employee signed in at Microsoft or Google, then landed on We couldn't sign you in. The line says Something went wrong with single sign-on.
For Microsoft, almost every case is one of these. Ask IT to check the app registration in Microsoft Entra ID:
https://app.clvrbenefits.com/api/auth/oauth/microsoft/callback. A typo, a missing part or a slash at the end is enough to break it.A client secret is the one part that expires on its own. If sign-in worked for months and then stopped, suspect the secret first. IT makes a new secret, and CLVR sends a new setup link to enter it. See Check that single sign-on works.
For Google, check that the redirect URI is https://app.clvrbenefits.com/api/auth/oauth/google/callback, and that the client secret matches the OAuth client.
If all of this looks right, have IT try to sign in and note the exact words Microsoft or Google shows. They usually point at the cause.
Email domain mismatch
CLVR checks that the account the person used at Microsoft or Google is on your company's domain. If it isn't, the screen says Something went wrong with single sign-on. Capital letters are never the cause.
Usual reasons:
- The person used an account on a second domain your company also owns.
- A personal Microsoft account, or a personal Gmail account, was signed in to the browser.
- The person used a guest account in another Microsoft tenant, or another company's Google Workspace.
This check is on purpose. It stops accounts from outside your domain from getting in through your single sign-on. Ask the person to sign out of Microsoft or Google in the browser, then sign in with their work account. On Google's account chooser, they can select Use another account.
No account found
The person signed in at Microsoft or Google, but CLVR has no current employee with that email. The screen says No account found for this email address.
Signing in at Microsoft or Google doesn't create a CLVR account. The usual reasons:
- The employee isn't in CLVR yet. Only people HR has added have an account.
- CLVR has another email for them, for example an old address or another spelling.
To fix it:
Then ask them to sign in again.
CLVR matches the whole address, so an extra dot or another alias counts as a different email. Changing the email in CLVR also changes the sign-in account. There is nothing else to update. A temporary personal address doesn't work with single sign-on.
The Continue with Microsoft or Google button doesn't show
After the employee enters their email and selects Send link, they get a sign-in link instead of the button. The sign-in page shows the button only when single sign-on is on for that exact domain.
company.se was saved but people use company.com, the button doesn't show for company.com.If your company set up Microsoft, the button says Continue with Microsoft, not Google. If Google should be on and isn't, ask CLVR to send a Google setup link to IT.
A leaver can't sign in
Microsoft or Google can still sign the person in, but CLVR sees they have left and refuses. The screen says Account terminated: "Your account has been terminated. You no longer have access to CLVR Benefits." There is no Try again button.
You don't need to turn off their Microsoft or Google account. Their termination date in CLVR is enough. Access ends on that date.
If someone who still works for you sees this, their record was probably terminated by mistake:
If a former employee is coming back, re-hire them in CLVR. Turning their Microsoft account back on doesn't restore access. See Re-hire a former employee.
A file import can also terminate people who are missing from the file, if you tick them. Check the Not in the file list before you import.
Access temporarily disabled
The screen says Access temporarily disabled. Your company's access to CLVR is paused, so nobody there can sign in, whatever the method. Accounts and data are untouched. Contact CLVR.
Someone on another domain has no button
Single sign-on is tied to one email domain per provider, for example @company.com. Only employees on that domain get Continue with Microsoft or Continue with Google. Someone on another domain, such as a contractor or a sister company, signs in another way: a sign-in link, the one-time code in the same email, or a password if their domain has one. That's expected.
A second domain can't have its own single sign-on yet. If that matters to you, ask CLVR.
A setup link expired or is invalid
IT opens the setup link and sees an error instead of the form.
| The page says | Why |
|---|---|
| Invalid or expired link | The link is older than 7 days, has been used, or was stopped when IT saved through another link. CLVR can also cancel a link. |
| Invalid link | The address is missing the setup code, usually because it was cut off when copied. |
An old link can't be reopened. Ask CLVR for a new one. IT opens it straight from the email and saves within 7 days.
Troubleshooting
- It works for some employees but not others. A redirect, permission or secret problem hits everyone on the domain. If only one person is blocked, check their email address, their domain and whether they have left.
- It suddenly stopped after months. Suspect an expired client secret first. Then check whether anything changed in the Azure app registration.
- Microsoft or Google shows its own message. Share the exact words with IT. It's usually the best clue.
- It fails when the sign-in starts in one browser and ends in another. The sign-in must start and finish in the same browser, within 10 minutes. Start again on the sign-in page.
- Our domain still gets a sign-in link. The setup probably didn't save. Ask IT whether they saw Setup complete. If not, ask CLVR for a new link.
- People on a second domain can't use single sign-on. Only one domain per provider is supported. Ask CLVR.
- The sign-in link never arrives for someone. Ask them to check spam. If their email security always blocks links, ask CLVR whether their domain should use a password.