loading...
markdown guide
 

I do not know if it is a good practise, but I think it will be better to get a New token. That ensures you that your token is always Active. Otherwise you must check by yourself if the token was expired and so on

 

It is so straightforward. Use a library like github.com/7leads/ngx-cookie-service and specify your question if something is unclear. :)

 
 

You should use something like JWT for client authorisation. You would have a strategy in place that stores the token in local storage and is retrieved and sent in the header of each request.

 
Classic DEV Post from Nov 8 '19

500 followers!😱🤩 About myself

Akhil Ashok profile image
Angular developer