How to logout a user from all devices on Laravel Passport? Super easy way

Secure your API

A little ago I was told by my restaurant app client to change a user password and log out the user from all devices and force it to login again with a new password. He wants to make sure that any old employee does not have access to their turnover and can not control the app. Then I thought to just change the password of that user and the problem will be solved…

--

--

--

Learn, develop and impress others on what you do…

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

AWS CodeCommit on OSX & unable to access / returned error: 403

Getting Started with EC2, LEMP (Ubuntu 16.04), and Laravel

LockTrip Q3 2019 Bookings Report

Increasing payment acceptance with Fraud Detection System

Building a Dynamic Business Rules Engine with WSO2 Stream Processor

Send Gmail delivery confirmations through Onfleet

I am an English Girl in IT

How to Prevent Image Hotlinking in WordPress

How to Prevent Image Hotlinking in WordPress

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Abdulla Emchiyev

Abdulla Emchiyev

Learn, develop and impress others on what you do…

More from Medium

Validating `multipart/form-data` with Laravel Validation Rules with proper JSON data types

Unit testing permissions in your Laravel API

500 internal error Laravel

Simple roles and permissions package for Laravel