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
I want to get the JWT that is inside the session and add it to the headers of the requests that I send to the API, but I can't use useAuthSession in the Axios configuration file
Error: Code(20): Calling a 'use*()' method outside 'component$(() => { HERE })' is not allowed. 'use*()' methods provide hooks to the 'component$' state and lifecycle, ie 'use' hooks can only be called synchronously within the 'component$' function or another 'use' method.
I understand the reason for this error, but is there any way I can get the session?
The text was updated successfully, but these errors were encountered:
I want to get the JWT that is inside the session and add it to the headers of the requests that I send to the API, but I can't use useAuthSession in the Axios configuration file
I get this error when I use
UseAuthSession
I understand the reason for this error, but is there any way I can get the session?
The text was updated successfully, but these errors were encountered: