N
Nuxt3d ago
MIDI

FIXED: nuxt-auth-utils google oauth working on localhost, not on domain

Getting this 400 error. I have completed relevant setup in google, added callback uri, correct secret etc.
No description
1 Reply
MIDI
MIDI3d ago
How do I go about debugging this? When I look into the code, I just see magicast stuff and my search bottoms out. Fixed it, I had forgotten to put
config: {
redirectURL: process.env.GOOGLE_REDIRECT
},
config: {
redirectURL: process.env.GOOGLE_REDIRECT
},
in my handler. Strange that it worked for localhost but oh well Because redirectURL is required for the google oauth handler, I think it should be a hard error to not supply it, so I'll create an issue for that eh?
Want results from more Discord servers?
Add your server