Google OAuth Configuration Required
Before using Google login, you need to configure the correct redirect URIs in your Google Cloud Console.
Error: redirect_uri_mismatch
If you're seeing a "redirect_uri_mismatch" error, it means the redirect URI you're using doesn't match what's configured in your Google Cloud Console. Follow the instructions below to fix this issue.
Steps to configure Google OAuth:
- Go to the Google Cloud Console
- Navigate to your project
- Go to "APIs & Services" > "Credentials"
- Edit your OAuth 2.0 Client ID
- Under "Authorized redirect URIs", add the following URLs:
Primary Redirect URI:
https://stationerycheckout.com/login/google/callback
Alternative Redirect URI:
https://stationerycheckout.com/login
The redirect URIs must match exactly as shown above, including the protocol (https://) and path.
Using stationerycheckout.com Domain
If you're accessing the application through stationerycheckout.com, make sure to add this exact URI to your Google Cloud Console:
https://stationerycheckout.com/login
The system will automatically detect which domain you're using and use the appropriate redirect URI.