You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello friends!
Today I was updating packages in my project, and as soon as I updated nuxt-auth-sanctum from ^0.5.8 I started receiving duplicate logs from sanctum.interceptors.onRequest in the console:
1st page load and with every page load, I get +1
[nuxt-auth-sanctum:ssr] [onRequest] custom interceptor (/api/user)
[nuxt-auth-sanctum:ssr] WARN [response] set-cookie header is missing, CSRF token will not be set
2nd page load
[nuxt-auth-sanctum:ssr] [onRequest] custom interceptor (/api/user)
[nuxt-auth-sanctum:ssr] [onRequest] custom interceptor (/api/user)
[nuxt-auth-sanctum:ssr] WARN [response] set-cookie header is missing, CSRF token will not be set
3rd page load
[nuxt-auth-sanctum:ssr] [onRequest] custom interceptor (/api/user)
[nuxt-auth-sanctum:ssr] [onRequest] custom interceptor (/api/user)
[nuxt-auth-sanctum:ssr] [onRequest] custom interceptor (/api/user)
[nuxt-auth-sanctum:ssr] WARN [response] set-cookie header is missing, CSRF token will not be set
...
[nuxt-auth-sanctum:ssr] [onRequest] custom interceptor (/api/user)
[nuxt-auth-sanctum:ssr] [onRequest] custom interceptor (/api/user)
[nuxt-auth-sanctum:ssr] [onRequest] custom interceptor (/api/user)
[nuxt-auth-sanctum:ssr] [onRequest] custom interceptor (/api/user)
[nuxt-auth-sanctum:ssr] WARN [response] set-cookie header is missing, CSRF token will not be set
Did I do something wrong?
In fact, when I saw this in my project, I decided to check it in an empty sandbox only with nuxt^3.16.2 and nuxt-auth-sanctum^0.6.4
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello friends!
Today I was updating packages in my project, and as soon as I updated nuxt-auth-sanctum from ^0.5.8 I started receiving duplicate logs from
sanctum.interceptors.onRequestin the console:1st page load and with every page load, I get +1
2nd page load
3rd page load
...
Did I do something wrong?
In fact, when I saw this in my project, I decided to check it in an empty sandbox only with nuxt^3.16.2 and nuxt-auth-sanctum^0.6.4
All reactions