julianlam / nodebb-plugin-sso-google

NodeBB Plugin that allows users to login/register via their Google account.
BSD 2-Clause "Simplified" License
20 stars 16 forks source link

Error: redirect_uri_mismatch #26

Closed StrangerPings closed 6 years ago

StrangerPings commented 6 years ago

I have put in my client ID and credentials into the plugin options. But I get the following error.

Error: redirect_uri_mismatch

The redirect URI in the request, http://www.mysite.co.uk/auth/google/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/901607581235-8todd43l209dv38qit2r57lobg77...

Why is http in there when I am using https?

StrangerPings commented 6 years ago

Needed to edit my config.json and include https://