In order to allow users to use Facebook authentication, we need to configure our application to use PostgreSQL database. Devise stores users in a database even when they're authenticated by an external service. It's also important to mention that we need configuration only for test and development environments because Heroku automatically injects its production database configuration.
In order to allow users to use Facebook authentication, we need to configure our application to use PostgreSQL database. Devise stores users in a database even when they're authenticated by an external service. It's also important to mention that we need configuration only for
test
anddevelopment
environments because Heroku automatically injects its production database configuration.