JWT-AUTH

Using vue-auth and jwt-auth

Logging out client side

In App.vue:

this.$auth.logout({ 
 makeRequest: false
})

on server - jwt.php

 'blacklist_enabled' => env('JWT_BLACKLIST_ENABLED', false),

Logging out server and client side

You must enable blacklisting of tokens:

In App.vue

this.$auth.logout({ 
 makeRequest: true
})

on server - jwt.php

 'blacklist_enabled' => env('JWT_BLACKLIST_ENABLED', true),