Refresh view needs a jwt token to be passed as a POST data.
But if you are using JWT_AUTH_COOKIE than JWT cookie is HttpOnly and you are unable to send it in POST request from javascript.
Do I understand correctly that token resresh view is intended to be used only for server-side requests? So if I want to refresh JWT from javascript I have to implement additional view which will pass JWT cookie value to the original refresh view.
Refresh view needs a jwt token to be passed as a POST data.
But if you are using JWT_AUTH_COOKIE than JWT cookie is HttpOnly and you are unable to send it in POST request from javascript.
Do I understand correctly that token resresh view is intended to be used only for server-side requests? So if I want to refresh JWT from javascript I have to implement additional view which will pass JWT cookie value to the original refresh view.