Sign-in error code origin_mismatch
What Synq's `origin_mismatch` sign-in error code means, why a sign-in came back to the app with it, and what to do.
The app's sign-in route refused a request from another origin than the app's own address (appUrl).
What to do
The app's team sets appUrl (or SYNQ_APP_URL) to the origin people use.
What the person sees
This app’s sign-in isn’t set up right, so it can’t finish. It’s not something you did: tell the app’s team (code origin_mismatch).
It's the app's own setup, which only its team can fix: trying again gets the same answer. A sign-in that doesn't finish comes back to the app with a code instead of a session. Synq's SDKs hand it over as the error's code, origin_mismatch, and @synqauth/nextjs puts it in the page's address as synq_error=origin_mismatch and says the words above (signInErrorMessage). Branch on the code, never on the words.
See every error code. Still stuck? Support says where to write, what to send and where Synq's status page is.