Answer the question
In order to leave comments, you need to log in
How to make non-User model authentication in Laravel?
I am using angular jwt laravel 5.2
Made User authentication and authorization.
But registration goes through several different groups. different tables in the database.
In other words, I need not only the User model.
Is there a simple solution?
The User extends Authenti model... and there's still a cloud of classes.
At the exit with token jwtauth:attempt(credentials) I always get a 401 error. invalid credentials.
There are no problems with the user model.
Let's say I create a Manager model by analogy with User. Where should it be registered? need help.
Answer the question
In order to leave comments, you need to log in
I will assume that this package of yours does not know how to work with different authproviders.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question