Did you follow this step? http://jwt-auth.readthedocs.io/en/docs/quick-start/#update-your-user-model
Basically your User model needs the JWTSubject interface and also some other methods
hello, i need help to solvd, i trying to create login page with jwt, but i have error Type error: Argument 1 passed to Tymon\JWTAuth\JWT::fromUser() must be an instance of Tymon\JWTAuth\Contracts\JWTSubject, instance of App\User given, called in /home/kevinhermawan/Music/aspirasi-backoffice/vendor/tymon/jwt-auth/src/JWTAuth.php on line 54 my login script : https://pastebin.com/s15exnca
please help me,.... thanks
warning you talking with junior laravel..
Please or to participate in this conversation.