dimanche 28 février 2016

JWT Token Change Authentication Setting

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.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire