Google oauth not working on meteor server


#1

I have a google login in place that workes on localhost but doesnt work on x.meteor.com

localhost setup:

Redirect URIs
http://localhost:3000/_oauth/google
Javascript Origins
http://localhost:3000/

meteor server:

Redirect URIs
http://cobe-meteor.meteor.com/_oauth/google
and tried with ?close at tend
Javascript Origins
http://cobe-meteor.meteor.com/

And i placed the code in here

   ServiceConfiguration.configurations.upsert(
{ service: "google"},

 {$set: { 
  clientId: "x",
  loginStyle: "popup",
  secret: "x"
}});

Im getting the wrong redirect uri 400 error