What do you mean when you say its not working, Is it throwing an error?
Nov 4, 2015
3
Level 1
authenticate user with external api and on success set session
Hi people, I have two tables users and sellers. users table have admin,manager,dataentry detail and sellers have sellers detail. Presently I using laravel auth to authenticate admin,manager,dataentry against users table and its working perfectly. In my auth config, user model and table is configured for authentication. Now my issue is, to authenticate sellers I am using external api and on success reponse I want to set seller session. I try this Auth::login(Seller::find(sellerid)), but this is not working. Can some one help me out with this problem.
Please or to participate in this conversation.