Jump to content

Featured Replies

Posted

After moving my Invision installation from bzpower.com/board to bzpower.com members are not able to login via Google. I regenerated a new Client ID and Client Secret but am still getting an error:

Quote

Authorization 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.

I'm guessing this might be because the ACP states "The Redirect URI to use is http://www.bzpower.com/oauth/callback/" but Google requires you to use HTTPS. I have a valid SSL certificate for my site - how do I get that updated, assuming that's the issue?

Thanks!

Solved by Marc

Go to solution

If there is a valid certificate on the server and you can access files via https on the domain without issue, edit your board’s conf_global.php to reflect https in the board URL. 

You need to update the callback url/redirect uri in the Google Web Application you setup for the login. Have a look at the guide to see where the field is (step 4):

 

  • Solution

You need to update your site to use ssl first of all. You can update to https using the method described here, if you have a certificate applied on your server

 

Once you have done that, you would need to ensure you change the callback URL as mentioned above

  • Author

That did the trick. Thanks!

Recently Browsing 0

  • No registered users viewing this page.