dystcz / nuxt-sanctum-auth

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

Call without CSRF token -> how to call csrf first? #30

Closed cvalues closed 1 year ago

cvalues commented 1 year ago

Hi,

how to handle a call without sanctum auth? like your login method. I need the CSRF token to make the signupcall.

thx alot!

cvalues commented 1 year ago

works, by calling await $csrf(), first.