DarksideOriginal post
Web Developer
I keep getting invalid redirect url in Nextjs when i try to use google or github authentication
Summary
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.