Hi it works for me properly but when the token is incorrct or revoked the response is the laravel native login page I want to change that and make a json response .
I'm using middlewares like this :
Route::group(['middleware' => ['api', 'multiauth:customer']], function () { ...
Route::group(['middleware' => ['api', 'multiauth:admin']], function () { ...
already thanks for any help !
Hi it works for me properly but when the token is incorrct or revoked the response is the laravel native login page I want to change that and make a json response .
I'm using middlewares like this : Route::group(['middleware' => ['api', 'multiauth:customer']], function () { ... Route::group(['middleware' => ['api', 'multiauth:admin']], function () { ... already thanks for any help !