shoebappa / vagrant-meteor-windows

A vagrant provisioner for running Meteor on Windows
73 stars 12 forks source link

Issues using VM with accounts-google #9

Open jabbett opened 11 years ago

jabbett commented 11 years ago
  1. 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.
  2. 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!