SynqDocs
Errors

Sign-in error code unauthorized_client

What Synq's `unauthorized_client` sign-in error code means, why a sign-in came back to the app with it, and what to do.

The app asked for a kind of sign-in its type doesn't allow, such as a grant it isn't registered for.

What to do

The app's team checks the app's type in Synq's dashboard against how the app signs people in.

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 unauthorized_client).

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, unauthorized_client, and @synqauth/nextjs puts it in the page's address as synq_error=unauthorized_client 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.

On this page