dystcz / nuxt-sanctum-auth

Nuxt 3 + laravel sanctum authentication
135 stars 25 forks source link

Use JWT token instead of cookie for managing auth #9

Closed davide-granello closed 1 year ago

davide-granello commented 1 year ago

Solves #7 Added token boolean property to module options, to switch between sanctum cookie-based to jwt-based auth (a-là mobile app frontend). See laravel docs

With jwt mode:

Configuration and steps needed are in readme file.

kreejzak commented 1 year ago

Thank you 🙌