2022-05-13
2332
#laravel#nuxtjs
Chimezie Enyinnaya
34297
May 13, 2022 â‹… 8 min read

Laravel Sanctum tutorial: Authenticating Nuxt.js SPAs

Chimezie Enyinnaya I'm a self-taught software developer based in Lagos, Nigeria. I enjoy teaching what I have learned and what I'm currently learning so that others can benefit from it.

Recent posts:

chrome dev tools for API mocking

How to use Chrome DevTools for API mocking

API Mocking allows frontend developers to simulate the responses and behaviors of a live API, such as error handling, timeouts, and specific status codes in real time. Chrome DevTools Local Overrides make this even easier.

Emmanuel John
Feb 4, 2025 â‹… 7 min read
How To Implement View Transitions In Multi-Page Apps

How to implement view transitions in multi-page apps

Enhance navigation in multi-page apps using the View Transition API, CSS, and JavaScript — no heavy frameworks needed.

Rob O'Leary
Jan 31, 2025 â‹… 12 min read
net maui 9 blazor

.NET MAUI 9 brings new improvements to Blazor

Developers can take advantage of the latest release of .NET MAUI 9 to build better user experiences that more accurately react and respond to changes in their applications.

Andrew Evans
Jan 30, 2025 â‹… 6 min read
Implementing React Islands In Static Web Applications

Implementing React Islands in static web applications

React Islands integrates React into legacy codebases, enabling modernization without requiring a complete rewrite.

Nelson Michael
Jan 28, 2025 â‹… 4 min read
View all posts

4 Replies to "Laravel Sanctum tutorial: Authenticating Nuxt.js SPAs"

  1. used your same examples, and always return CSRF token mismatch D: i think something can be wrong with my laravel or something like that

  2. Hi, I’m doing the same example but i get the “this.$auth.user” is undefined. can some one help me

  3. SESSION_DOMAIN=.localhost
    change to
    SESSION_DOMAIN=localhost
    to prevent CSRF token mismatch issues

    remove the dot

Leave a Reply