I am trying to setup my Meteor app to use Google logins, Here is my setup in the /server/config.js file
Accounts.loginServiceConfiguration.remove({
service: "google"
});
Accounts.loginServiceConfiguration.insert({
service: "google",
clientId: "XXXXXXX",
secret: "XXXXXX"
});
I have the setup on google pointed to localhost:3000 I have accounts-ui and accounts-google installed on my meteor app.
and I see the google login button on my app's homepage but when I click it I get:
Error: redirect_uri_mismatch The redirect URI in the request:
http://localhost:3000/_oauth/google?close
did not match a registered redirect URI