Next Auth (Github) directing me back to localhost after deployed
Answered
American black bear posted this in #help-forum
American black bearOP
Hi all 👋
This might be a silly question - But I've added auth to my app, this works fine locally... But when I deploy to Vercel, auth is pointing back to localhost:3000, which makes sense.
Do I need to create another Auth app in GitHub pointing to my hosted URL? Or is there a way to do this with a single auth app?
This might be a silly question - But I've added auth to my app, this works fine locally... But when I deploy to Vercel, auth is pointing back to localhost:3000, which makes sense.
Do I need to create another Auth app in GitHub pointing to my hosted URL? Or is there a way to do this with a single auth app?
2 Replies
Answer
@joulev Yes, create a new app for production
American black bearOP
Much appreciated, thank you!