Google oauth not working on meteor server

I have a google login in place that workes on localhost but doesnt work on

localhost setup:

Redirect URIs
Javascript Origins

meteor server:

Redirect URIs
and tried with ?close at tend
Javascript Origins

And i placed the code in here

{ service: "google"},

 {$set: { 
  clientId: "x",
  loginStyle: "popup",
  secret: "x"

Im getting the wrong redirect uri 400 error