How to get user logged by user email only.
I need to integrate facebook login into fuel cms. Once I am getting authentication from facebook I want logged that user into cms if exist or create his new account. But here is no function get localuser login. Please provide a solutions.
Comments
Do you get given the email address of the authenticated Facebook user? You should be able to find_one() using that and then log them in. If you're given some sort of different identifier, you may need to extend the user table with a field that contains that identifier and extend the fuel user model to allow you to edit it.