diowa/icare

Login works after scopes were fixed but icare gives me an error after auth succeeds

tistudios opened this issue · 5 comments

#114 Following on from my response, here's the issue I'm facing after updating scopes.
screen shot 2019-02-06 at 12 26 41 pm

Hi, please check the logs heroku logs, they will contain more information

screen shot 2019-02-06 at 12 59 22 pm

MongoDB invalid db name. I will take a look at app/models/user.rb and see if i can make sense of this.

Please check that you are using mongolab addon

$ heroku addons

Add-on                                Plan     Price  State  
────────────────────────────────────  ───────  ─────  ───────
mongolab (x-y-z)         starter  free   created
 └─ as MONGOLAB

And you have a valid MONGODB_URI environment variable

$ heroku config:get MONGODB_URI
mongodb://...

⚠️ ATTENTION DO NOT copy the content of your variable here, it contains sensitive information

Ah! I had created the heroku app through the generic cli & without following the guide in the wiki. Thanks I will do this and report back.

Fixed it perfectly!