Callback error
Unanswered
Asiatic Lion posted this in #help-forum
Asiatic LionOP
Hey sorry about that, must be a simple one.
I'm trying to setup github oauth on this boilerplate https://github.com/moinulmoin/chadnext
the magic link is working fine but i can't get the github oauth, I've tried for many hours.
You can check it on my domain
https://www.whatsnext.quest/en/
I got error 500, I have setup the Authorization callback URL to https://www.whatsnext.quest/api/auth/login/github/callback on oauth, my route is src/app/api/auth/login/github/callback (there is a route.ts) wich is the same code as the one in the boilerplate. Thanks for any kind of help
I'm trying to setup github oauth on this boilerplate https://github.com/moinulmoin/chadnext
the magic link is working fine but i can't get the github oauth, I've tried for many hours.
You can check it on my domain
https://www.whatsnext.quest/en/
I got error 500, I have setup the Authorization callback URL to https://www.whatsnext.quest/api/auth/login/github/callback on oauth, my route is src/app/api/auth/login/github/callback (there is a route.ts) wich is the same code as the one in the boilerplate. Thanks for any kind of help
4 Replies
Asiatic LionOP
I have forgot to mention, I never worked with a database before, it is setup but maybe it come from this ?
Asiatic LionOP
I switch to local i'm having this
so ur github oauth setup is incorrect imo,
u need to keep two oauth app - one for local development and one for production
try that and let me know and don’t forget to set all the env
u need to keep two oauth app - one for local development and one for production
try that and let me know and don’t forget to set all the env