Angular 2/4 where to store token

Viewed 22575

I have a rest api for generating token, which i'm using in angular 4 client side, but the question is where to store this token.

In the internet i found that i can store in local storage or in the cookie.

So my question is, if store token is the local storage for example, and i have just copied the valid token from another browser, then i will have a valid token, so there is any security of storing token like that, and basically the same with cookies, or maybe i missed some important information?

2 Answers
Related