grails (11) vaadin (11) meteor (6) java (4) elasticsearch (3) apple (2) centos (1) cloudbees (1) google analytics (1) gradle (1) heroku (1) javafx (1) javascript (1) jdbc (1) jug (1) logback (1) logging (1) mac os (1) management (1) mongodb (1) mongolab (1) mysql (1) twitter (1) ubuntu (1)

Sunday, July 21, 2013

Meteor: Login with Github on Heroku

It is a bit tricky to setup Meteor application to login with external service on Heroku (if you want to use your own domain). You need to do the following:

  1. While creating an application on Github, you have to use the same pattern for URLs. If you choose to use www prefix, use it everywhere.
  2. Then go to the console and set ROOT_URL (heroku config:add ROOT_URL=http://www.templhub.com). You need to have it EXACTLY the same as in GitHub application configuration.

No comments:

Post a Comment