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:

Build an image editor with Fabric.js v6

In web development projects, developers typically create user interface elements with standard DOM elements. Sometimes, web developers need to create […]

Shalitha Suranga
Sep 9, 2024 â‹… 12 min read

Creating toast notifications using Solid Toast

Toast notifications are messages that appear on the screen to provide feedback to users. When users interact with the user […]

Chimezie Innocent
Sep 6, 2024 â‹… 7 min read
Deno Adoption Guide: Overview, Examples, And Alternatives

Deno adoption guide: Overview, examples, and alternatives

Deno’s features and built-in TypeScript support make it appealing for developers seeking a secure and streamlined development experience.

Emmanuel Odioko
Sep 5, 2024 â‹… 10 min read
Types vs. Interfaces in TypeScript

Types vs. interfaces in TypeScript

It can be difficult to choose between types and interfaces in TypeScript, but in this post, you’ll learn which to use in specific use cases.

Yan Sun
Sep 5, 2024 â‹… 9 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