In this video, you will learn how to create a logout API in Laravel 11 Sanctum. Additionally, we will explore the process of resetting the cookie in Nuxt 3 to log the user out of the application. After user logout from the system, all tokens will be deleted from the Database.
🧲 Timestamps:
00:00 – Introduction
00:08 – Logout API Explained
01:04 – Token Database Explained
01:46 – Create Route
02:36 – Important Info
03:16 – Create Logout Nuxt 3
04:49 – Testing Logout
05:05 – Conclusion
🧲 Checkout our projects at GitHub:
🧲 VSCode:
● Font: Cascadia Code
● Theme: Obsidian Dark
🧲 Personal Tech Stack:
● Laravel, Livewire
● VueJs, NuxtJS
● MySQL, mongoDB, Pocketbase
● TailwindCSS
● LAMP Stack
● Linux, Virtualization, Proxmox
Please Ignore Negative Comments 🙂
[ad_2]
source