I have google oauth set up in a react project. It was working fine in development, locally. Once i promoted the oauth client to "production" and modified the JS origin and redirect URIs to production values, yet it gives this error
Error 400: redirect_uri_mismatch
You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.
If you're the app developer, register the redirect URI in the Google Cloud Console. Request details: redirect_uri=http://super-server.herokuapp.com/v1/auth/google/callback Related developer documentation
These are the authorized redirect URIs within google cloud console:
- https://super-server.herokuapp.com/v1/auth/google/callback
- https://super-server.herokuapp.com/v1/auth/google/callback/
- https://www.super-server.herokuapp.com/v1/auth/google/callback
- https://www.super-server.herokuapp.com/v1/auth/google/callback/
As you can see, there are no authorized uri's with an HTTP schema. Theyre not even allowed in production mode. So im not sure where this is coming from, because the server is HTTPS
server:
Any advice?


