Skip to main content

Single sign-on doesn't work

Fix SSO sign-in errors and failed SSO tests.

R
Written by Romy Haik

Errors when you sign in with SSO

"Single sign-on isn't set up for your organization yet. Use your password or an email link."
Your email domain is not linked to an identity provider in Moon. Go back and sign in with your password or Email me a sign-in link. Ask your admin to finish SSO setup.

"This sign-in didn't start in this browser tab. Start it again from the sign-in page."
The SSO return page opened in a different tab or browser from the one that started it, or too much time passed.

  1. Go to the sign-in page.

  2. Click Sign in with SSO, enter your work email and click Continue.

  3. Finish the sign-in in the same tab.

"Could not start single sign-on. Try again."
Wait a moment and try again. If it repeats, sign in with your password or an email link and tell your admin.

For admins: the SSO status

Only an admin can set up single sign-on, in Organization > Single sign-on. The status line says what is missing:

Status

What to do

Not set up

Follow "Set up single sign-on".

IdP connected - link a domain

Add your email domain under Email domains.

Connected - run a test sign-in

Click Test sign-in in the Test it step.

Active

SSO works for everyone at your linked domains.

For admins: the test didn't pass

Test sign-in opens your identity provider in a new tab.

  • "The test didn't pass": check the identity provider details you saved in step 2, then test again.

  • "Signed in, but not on a linked domain": the identity provider sent an email address at a domain that is not linked. Link that domain, or change which email the identity provider sends.

  • "Sign in to Moon in this browser first, then run the test from Organization → Single sign-on.": start the test from the console in a browser where you are signed in.

  • "The IdP changed since the last test. Test again.": run Test sign-in again.

For admins: certificate warnings

  • "Your IdP's certificate expires in N days - upload the new one in step 2 before then."

  • "Your IdP's certificate has expired - sign-ins through it fail until you upload the new one."

Upload the new signing certificate in step 2, or use a metadata URL so Moon keeps reading the current certificate.

When to contact support

Contact support if the test passes but members still cannot sign in, or if the page shows "Single sign-on isn't available on this server yet. Contact Moon to turn it on."

Related: "Set up single sign-on", "I can't sign in".

Did this answer your question?