I keep getting invalid redirect url in Nextjs when i try to use google or github authentication
TL;DR
Developers are receiving an 'invalid redirect url' error in Next.js when attempting to use Google or GitHub authentication. The issue may be due to the platform not matching the hostname of the app. Make sure to add a platform that matches the hostname of the app, such as hosting it on Vercel with the correct hostname configuration.Add a platform that matches the hostname of your app
Done that, i hosted it on vercel
added this to hostname *.vercel.app
Recommended threads
- Invalid token passed in the request
Hello, I have an issue using updateMagicURLSession. I send the email using sendMagicLink, which works fine. When i click the link in the email i get the invali...
- how can i make a relationship between a ...
i want to relate the $id from users auth table in appwrite with other column in my table user_profile. because is the same user... how can i have exactly the s...
- Google login on mobile not working
Hi the gg login auth in mobile not working. No error show. But the user couldnt login in Attached is the video. Desktop is working well and im using custom doma...