Open pankitgami opened 7 years ago
I'm facing this exact problem and I've raised an issue but looks like nobody cares. I have a multi-auth setup using 2 JWT drivers and authentication only works for the User model, it doesn't work from the other model. At first I thought it was just a bug but upon doing lots of debugging today, I realized the package just supports the User model. Can you help me out @pankitgami?
Currently, this package only supports the Model for
User
. Laravel itself has given the power to a developer to extend its authentication with help ofUserProvider
andAuthenticatable
interface.We can leverage this and create the support for the generic user. This will ease the work of developer using another ORM or Fluent Query Builder.