I am using `passport` in `laravel` for authenticating my users in APIs. I am able to authenticate different types of users from different tables and generating different token for them but the routes are not protected. For example. A user can access the routes like this Route::group(['middleware' => 'auth:api'], function () { Route::group(['prefix' => 'v1'], function () { Route::get('get-seller-list','API\v1\SellersController@index'); }); }); and A doctor can access the routes like Route::group(['middleware' => 'auth:sellers'], function () { Route::group(['prefix' => 'v1'], function () { Route::get('get-seller-detail','API\v1\TestController@getDetails'); }); }); but this `middleware` check doesn't seem to be working as I can access all the routes …

Member Avatar
Member Avatar
+0 forum 2

I have a WD my passport and when i plug it to my pc, the light turns on. Eventually, i doesnt appear on my pc.

Member Avatar
Member Avatar
+0 forum 2

As unlikely as it may sound, Elvis Presley has been cloned. OK, it's a fair cop, not your actual Elvis Presley but rather his passport. According to reports a gang of Dutch hackers have managed to clone RFID driven e-passports of the type we are always being told are highly secure. More to the point, the group not only cloned an e-passport in the name of Elvis Aaron Presley, but actually managed to use it at Schiphol Airport near Amsterdam. Because an unmanned, automatic passport reading scanner was used at the airport nobody was around to notice that the hacker …

Member Avatar
Member Avatar
+0 forum 1

The End.