So, I am learning Devise, and I really liked it, but one thing that I did not understand can be used by several providers (for example, ldap login + facebook / google / etc.)? So I want:
- User - information related to my site
- Linked provides - so I want users to be able to link their accounts with multiple providers.
For example, let's say we have a user example_user. She has a facebook, google and ldap account associated with her account, so if she tries to log in using ldap, google or facebook, she will succeed and give me an instance of the User model.
Sorry for my poor language, I explain my problem quite poorly.
Thanks!
EDIT: I resolved it using omniauth.
source share