Use the JWT token if available in the server requests
Add the JWT token to the api calls.
Try to add the Authentication header to the default headers in axios:
axios.defaults.headers.common['Authorization'] = <The token information>;
otherwise the token should be added to each request.
The server expect the token information to be formatted as:
JWT <token>
(That means the string JWT
, one blank and the the token itself)
Waiting for !28 (merged) and socrates-server!20 (merged) to be merged
Edited by Alexandre Soler Sanandres