-
Please refer to the documentation, the example project and existing issues before creating a new issue. Your question What are you trying to do Documentation feedback
I suspect it's a some kind of environmental variable issue. I have added them in Vercel, and debugging shows them coming out in the logs during build time. This is the page in question In the logs I see:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
For reference, the example project is deployed in Vercel. If I click the Google Sign In button at https://kite-nine.vercel.app/api/auth/signin, it redirects to Google but Google returns an error error: That's an error from Google, I would check the App configuration in Google Console as it seems like the callback URL configuration in Google for the app is is wrong. You don't want to go to the callback page directly, that's a page Google invokes as a callback as part of the sign in journey. |
Beta Was this translation helpful? Give feedback.
-
Oh wow it finally works after hours of pulling my hair out. The only reason I was visiting the url directly was because I couldn't add the Vercel URL as a redirect URL in Google console. It kept saying saving... with a spinner. I could add any random page, so I visited the url and got the undefined errors. Thanks again for your wonderful support Iain! |
Beta Was this translation helpful? Give feedback.
-
Great, glad it's working! :-) That page probably shouldn't just error like that in Google if access directly. Happy to take any suggestions as to what it should do! (Redirect to sign for that provider?) |
Beta Was this translation helpful? Give feedback.
-
@jamespfarrell I wonder if your 502 error is related to the fix I found here, #825 (comment) |
Beta Was this translation helpful? Give feedback.
Oh wow it finally works after hours of pulling my hair out.
The only reason I was visiting the url directly was because I couldn't add the Vercel URL as a redirect URL in Google console. It kept saying saving... with a spinner.
I could add any random page, so I visited the url and got the undefined errors.
Thanks again for your wonderful support Iain!