Rails, Devise & Omniauth - problems with setup

前端 未结 2 625
长情又很酷
长情又很酷 2021-01-17 14:00

I am trying (again) to set up authentications with Rails 4, devise and omniauth.

I tried to follow the example in this post: Rails 4, Devise, Omniauth (with multiple

相关标签:
2条回答
  • 2021-01-17 14:43

    There is a gem called dom that was made exclusively to manage Devise with multiple providers. It makes things deadly simple!

    Also, I think you should read these articles. I'm sure you can solve all your questions with them:

    1. Devise OmniAuth: Overview
    2. OmniAuth Managing multiple provaders
    0 讨论(0)
  • 2021-01-17 14:45

    Devise comes with an out of the box solution for integration with omniuth. You can checkout these urls: 1. https://www.digitalocean.com/community/tutorials/how-to-configure-devise-and-omniauth-for-your-rails-application This one shows integration with DigitalOcean but can be extended to others. 2. https://github.com/plataformatec/devise/wiki/OmniAuth%3A-Overview This one is from devise wiki

    Hope it helps

    0 讨论(0)
提交回复
热议问题