Callback URL mismatch. The provided redirect_uri is not in the list of allowed callback URLs

hey community :slight_smile:

i have next js app deployed to vercel,
keep getting this error
unauthorized_client: Callback URL mismatch. https://$VERCEL_URL/api/auth/callback is not in the list of allowed callback URLs
maybe im missing some env var ?

plz help :slight_smile:

the app is hosted here https://www.praguexpats.com/
callback urls screen below

I tried all combination of Allowed Callback URLs, but no luck, really stuck

Yes, looks like you are missing an environment variable, or the URL is not being expanded properly. You shouldn’t see the $VERCEL_URL in the error message.

John