A user tried to sign in with Google yesterday and let me know they are getting this error. I logged out and tried to get back in via sign in with Google and am getting the same 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.
@pfaffman Just wanted to share the fix that finally resolved this, if helpful for the future - our Google OAuth client secret and ID went inactive for some reason. As soon as I updated them with new ones in Discourse - Sign In with Google started working again.
If it’s working, it’s working, but the error you showed was because the hostname changed. Perhaps someone added the new host name and callback as well.
Also, it doesn’t work for me, but maybe it’s not supposed to?