Authentication doesn't work in heroku Omniauth/Devise gems
<p>i finished the creation of my web. So i'm very happy.
BUT.. here is the thing, today i tried to deploy it on heroku. Here is the link:</p>

<p><a href="https://nameless-wildwood-94934.herokuapp.com/" rel="nofollow">https://nameless-wildwood-94934.herokuapp.com/</a></p>

<p>I Migrated to postgreSql since heroku doesn't support sql, i also changed this line: </p>

<p>config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }</p>

<p>to</p>

<p>config.action_mailer.default_url_options = { host: '<a href="https://nameless-wildwood-94934.herokuapp.com" rel="nofollow">https://nameless-wildwood-94934.herokuapp.com</a>' }</p>

<p>However the login(simple way/facebook/gmail) doesn't work, but with logs it seems that it does the insertion in the database so i guesse it's related to omniauth/devise gems which handle all these. Please can you suggest me a solution.</p>

<p>Thanks
THANK YOU</p>