Closed OrhanKal closed 6 days ago
[x] As a client;
[x] on app start it should check if there is token in localStorage
[x] if there is
{ Authorization: token }
**NOT: Do not add Bearer prefix to token
Bearer
GET
/verify
localStorage
axios
[x] if token is not authorized,
[x] As a client;
[x] on app start it should check if there is token in localStorage
[x] if there is
{ Authorization: token }
**NOT: Do not add
Bearer
prefix to tokenGET
request to/verify
endpointlocalStorage
&axios
header[x] if token is not authorized,
localStorage
axios
header