Closed oztrkmrt closed 2 months 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