1

Hi I have done the following from the heroku tutorial.

 heroku plugins:install git://github.com/ddollar/heroku-config.git
 heroku config:push --overwrite

my .env file is in root of project directory

GOOGLE_RETURN_URL = http://example.herokuapp.com/auth/google/return
GOOGLE_REALM = http://example.herokuapp.com/

I also set the --overwrite flag as this answer suggested

however when I echo my heroku config it remains empty!

Community
  • 1
  • 1
actual_kangaroo
  • 5,971
  • 2
  • 31
  • 45

1 Answers1

1

The issue is the spaces in your .env file. Remove the spaces on either side of your "=" and the plugin will work.

Change:

GOOGLE_RETURN_URL = http://example.herokuapp.com/auth/google/return
GOOGLE_REALM = http://example.herokuapp.com/

To:

GOOGLE_RETURN_URL=http://example.herokuapp.com/auth/google/return
GOOGLE_REALM=http://example.herokuapp.com/
jmccartie
  • 4,956
  • 8
  • 50
  • 71