I have two types of users (“providers” and “customers”) and obviously each one refers to a “user”. But I’d like to verify their profile by linking their accounts to their social network accounts.
I tried it with Facebook (test app) and I found that if the email address of the Fb account already exists in your database it doesn’t create another user (different from what I understood from previous forum discussions). I also created another user field in my “provider” table that I called “Facebook User” to check that email adresses are the same.
@georgeciobanu do you think it could work like that and do not create bugs when user tried to login later?
Thanks a lot.