You can't set a Google OAuth2 Client Redirect URI with an IP address. http://localhost:3000 works (as demonstrated in the meteor authcast) but not http://10.11.12.13:3000. I had to edit my hosts file to point a real-looking domain name (e.g. localhost.meteor.com) to 10.11.12.13, then I could set the Google OAuth settings successfully.
Once you start using a "real-looking domain name" you need to start meteor with a custom ROOT_URL, otherwise Google will complain when it attempts to redirect you back to your app. Instead of simply meteor, type:
ROOT_URL=http://localhost.meteor.com:3000 meteor
Perhaps you can include this in the documentation. Thanks so much for helping me get meteor running reliably on Windows!
http://localhost:3000
works (as demonstrated in the meteor authcast) but nothttp://10.11.12.13:3000
. I had to edit my hosts file to point a real-looking domain name (e.g.localhost.meteor.com
) to10.11.12.13
, then I could set the Google OAuth settings successfully.ROOT_URL
, otherwise Google will complain when it attempts to redirect you back to your app. Instead of simplymeteor
, type:Perhaps you can include this in the documentation. Thanks so much for helping me get meteor running reliably on Windows!