Question 💬
When deploying with vercel, after calling signIn, nextauthv4 redirects me to the vercel assigned url instead of the url i bought. For example, after calling signIn("github") my redirect uri is --------p617s86j0-aashj.vercel.app/api/auth/....
I'm wondering how I can change this to use my domain that i've assigned instead. Obviously this is an issue because i'll need to change my authorization url for my oauth provider every time i deploy.
I'm wondering what I'm doing wrong here...?
How to reproduce ☕️
Any vercel deployed nextjs app using nextauth with an oauth provider.
Contributing 🙌🏽
No, I am afraid I cannot help regarding this
Question 💬
When deploying with vercel, after calling signIn, nextauthv4 redirects me to the vercel assigned url instead of the url i bought. For example, after calling
signIn("github")my redirect uri is--------p617s86j0-aashj.vercel.app/api/auth/....I'm wondering how I can change this to use my domain that i've assigned instead. Obviously this is an issue because i'll need to change my authorization url for my oauth provider every time i deploy.
I'm wondering what I'm doing wrong here...?
How to reproduce ☕️
Any vercel deployed nextjs app using nextauth with an oauth provider.
Contributing 🙌🏽
No, I am afraid I cannot help regarding this