Skip to main content
For the complete documentation index for agents and LLMs, see llms.txt.

Troubleshoot SSO Connections

Fix common Single Sign-On (SSO) sign-in and configuration problems.


Common Issues

This table lists common symptoms and how to fix them:

SymptomLikely CauseFix
AADSTS650056 — misconfigured applicationEntra's Identifier (Entity ID) does not match the issuer Haystack Platform sendsSet Entra's Identifier to exactly the value in the connection's IdP issuer / entity ID field
AADSTS50011 — reply URL mismatchThe Reply URL in Entra does not exactly match the ACS URL from Haystack PlatformRe-copy the ACS URL from the connection details, trailing slash included
AADSTS50105 — user not assignedAssignment required? is Yes and the user is not assigned, or is only in a nested groupAssign the user or their direct group under Users and groups
Sign-in fails right after authenticating at your providerThe email address sent by your provider does not match any invited Haystack Platform memberInvite the person first, or correct the email claim so it matches the invited address
Signature verification failsWrong certificate (Raw instead of Base64), expired certificate, or your provider signs only the response and not the assertionRe-download Certificate (Base64). In Entra, confirm the Signing Option is Sign SAML assertion or Sign SAML response and assertion
Entering an email does not redirect to the providerThe domain is not listed on the connection, or the connection is disabledCheck the Email domains field and the enabled toggle
Saving the connection reports a conflictOne of your domains is already claimed by another connectionContact Haystack Platform support
No signing certificate under Advanced optionsIt is issued when you first save with request signing turned onSave the connection with Sign AuthnRequests on, then reopen it
Sign-in worked for years, then stoppedYour provider's signing certificate expiredRenew it and update the connection

If you're still stuck, contact Haystack Platform support with your connection's display name, the time of the failed sign-in, and any error code your provider showed.

What To Do Next