Skip to content

Single sign-on problems

Single sign-on setup 9 min readUpdated a month ago

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 withUsual causesSection
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 secretSingle 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 browserSign-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:

1
Check with IT that they reached Setup complete on the setup page.
2
Compare the saved domain with the email domain your employees use. They must match exactly.
3
If anything is missing, ask CLVR for a new setup link. IT enters all values again, in one go.
4
Have one employee on the domain test the sign-in.

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:

1
Redirect URI. Under Authentication, the redirect URI must be registered as a Web platform, exactly as on the setup page: 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.
2
User.Read. Under API permissions, Microsoft Graph > User.Read (delegated) must be listed, and its Status must show Granted for Your Company. Without that consent, sign-in can't finish.
3
Client secret. Under Certificates & secrets, a secret must exist and not be past its end date. Only the secret's Value works, never the Secret ID.

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:

1
Open the HR menu, select Employees and search for the person.
2
If they're not there, add them on Add employees. Use their Microsoft or Google work email.
3
If they're there with another email, open them and change Email to their work email exactly. Select Save changes.

Then ask them to sign in again.

Tip.

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.

1
Check the setup finished. Ask IT whether they saw Setup complete after Save and enable. If they closed the page first, nothing was saved.
2
Check the domain. The saved domain must match what employees type after @. If company.se was saved but people use company.com, the button doesn't show for company.com.
3
Enter a full work email, with the domain after @.
4
Test with an address on the set-up domain. A colleague on another domain keeps their own way to sign in.

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:

1
Open the HR menu, select Employees and find the person on the Terminated tab.
2
Open them and go to the Access tab. The termination card shows the date.
3
If it's a mistake, select Manage, then Undo termination.

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.

Tip.

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.

IT opens the setup link and sees an error instead of the form.

The page saysWhy
Invalid or expired linkThe 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 linkThe 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.

A demo with your numbers

We show you the product and work out what your company would save. If CLVR is not right for you, we will say so.

  1. You send the formIt takes a minute.
  2. We email youWithin one business day, to pick a time.
  3. A 30-minute demoWith one of the founders, on your numbers.

Book a demo

How many employees?

By sending this form you agree to our Privacy Policy and Terms of Service.