Young
11 فبراير 2020، 5:31م
1
Just bought the standard package and setup my website. I followed the tutorial and setup google signup. But when I click on the with google button, it showed this page:
400: Error: redirect_uri_mismatch
The redirect URI in the request, xxx/auth/google_oauth2/callback, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/apis/credentials/oauthclient/114890565295-bf2ojd8c9cggp8na3h29j78ghnmo0fo7.apps.googleusercontent.com?project= 114890565295
What’s going on? How do I fix it?
simon
11 فبراير 2020، 5:39م
2
I have seen that error message when the URL that has been added to the ‘Authorized Redirect URI’ section on Google is incorrect. It should be set to
https://forum.example.com/auth/google_oauth2/callback
Replace forum.example.com
with your site’s domain.
4 إعجابات
Young
11 فبراير 2020، 7:39م
4
That’s exactly what I added in google.
simon
11 فبراير 2020، 8:08م
5
Did you enable Google logins on your Discourse site? It’s in step 9 of Configuring Google login for Discourse . Try going through that guide again and make sure everything has been setup correctly.
pfaffman
(Jay Pfaffman)
11 فبراير 2020، 8:12م
6
It almost certainly isn’t. Make sure that it’s https
. Trailing slash or space could also be a problem.
إعجاب واحد (1)
Young
12 فبراير 2020، 12:01ص
7
Oh, somehow the field was cleared. Thanks.
إعجابَين (2)
system
(system)
تم إغلاقه في
13 مارس 2020، 12:06ص
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.