I am creating a JWT token based REST api. I am succeed to create JWT token on different table('customers'). But when i call my REST api and pass the token it return
error = "User not found"
.
So my question is how can i change the JWT setting to set the JWT authentication on customer table. By default it refer to App\User but i want to change it to App\Customer. Is it possible? if it is possible so how?
Thanks in advance.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1oIqZAF
via IFTTT
Aucun commentaire:
Enregistrer un commentaire