Authentication does not work on heroku deployment


#1

I am trying to deploy an iron app to heroku. Everything works in development, and I deployed like this:

$ heroku login
$ heroku git:remote -a <name-of-heroku-app>
$ heroku config:set BUILDPACK_URL=https://github.com/lirbank/meteor-buildpack-horse.git
$ heroku config:set ROOT_URL=https://<name-of-heroku-app>.herokuapp.com
$ git push heroku master
$ heroku open

The app deploys to heroku but I cannot login. I added the redirect URL: https://js-meteor-todos.herokuapp.com/_oauth/meteor-developer add added a env.sh file in config/production with my app keys. When I try to log in though the meteor developer box opens with an error:

“Something went wrong: that application does not exist.”

How do I deploy an iron app to heroku with authentication enabled?


#2

Not sure what the issue is, can you provide the Heroku logs? Have a look at this, maybe it can help.