Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues using VM with accounts-google #9

Open
jabbett opened this issue Nov 28, 2013 · 0 comments
Open

Issues using VM with accounts-google #9

jabbett opened this issue Nov 28, 2013 · 0 comments

Comments

@jabbett
Copy link

jabbett commented Nov 28, 2013

  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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant