Log in to vercel generated preview adresses through Auth0
Unanswered
Mrigal carp posted this in #help-forum
Mrigal carpOP
I am trying to log into my project through vercel generated preview adresses when pushing a new branch (for the purposes of E2E testing). For some reason this is not working. I have implemented the solution suggested here https://github.com/auth0/nextjs-auth0/pull/404, but I keep getting this error:
CallbackHandlerError: Callback handler failed. CAUSE: unauthorized_client (The redirect URI is wrong. You sent "AUTH0_BASE_URL set in vercel dashboard", and we expected "AUTH0_VERCEL_BRANCH_URL")5 Replies
You need to add wildcard url in your Auth0 app's settings
just like that, but remember to add production urls if youa re using custom domains 😄
Mrigal carpOP
This does not seem to be a problem 🤔
with that settings I had nothing to set in next.js app (like you shared in auth0 pull request), can you share your repository with me so I would be able to check if everything is just set ok?