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
{{ message }}
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.
This is not a global standard nor is it being used by everyone though.
But I was wondering if you could include a key on the configuration which points to the token. In the case of the above, it would be 'data.token'.
Similar would also be very useful on the get user details endpoint
Also when nuxtSanctumAuth.token is set to true, could you make the include credentials header configurable such that a user can set to include it or not.
Thanks a lot
The text was updated successfully, but these errors were encountered:
Hi, I don't know if I understand this issue correctly, but you should be able to get token like this. And also you should be able to get login response via callback function.
To get user you can call $sanctumAuth.getUser().
Also all keys in responses should be configurable in nuxt.config.
Most APIs I have worked with and on use a data structure like the one below.
This is not a global standard nor is it being used by everyone though.
But I was wondering if you could include a key on the configuration which points to the token. In the case of the above, it would be
'data.token'
.Similar would also be very useful on the get user details endpoint
Also when
nuxtSanctumAuth.token
is set to true, could you make the include credentials header configurable such that a user can set to include it or not.Thanks a lot
The text was updated successfully, but these errors were encountered: