asp.net - How secure is storing JWT Token in the browser? -


i implementing token based authentication using jwt , have read far, way store throughout session through localstorage / cookie. since value in clear text can use dev toolbar see cookies, what's stop using token , sending on endpoints publicly exposed?

in normal cases, user able token via dev toolbar same user able aquire token in regular way. should not security problem.

each jwt token should contain audience (aud) claim, checked every resource. token can't used access endpoints wasn't issued.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -