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

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

minify - Minimizing css files -

php - How to remove letter in front of the word laravel -