Usama Muneer

Results 6 comments of Usama Muneer

``$token = $request->header( 'Authorization' ); $this->auth->parseToken()->invalidate( $token );`` This worked for me

haha, loved the idea 💯Congrats to the winner already 🥇🥇

What did `$request->user()` returns?

make sure you've some User returned while calling `can()`

Another trick on what could be done is instead of passing Auth through the headers. Directly pass the token in your URI. I'm not sure if its the right approach...