Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I'm using the JWT to encode a Json into a encoded version using the java-jwt and I'd like to know how can I decode it in my Javascript ( front end ) side. I know that isn't the best solution possible to secure my JSON ( the person could have access to the JS loaded by the browser ) but it's a request here and I must do. Can anyone help me with that?

Thanks

share|improve this question
    
Maybe this http://kjur.github.io/jsjws/ or this https://www.npmjs.org/package/jwt-decode could help –  alkis Sep 23 at 20:18
    
I did see it but I can't seem to find where exactly I do this decode ( and which plugins I need to do that ). –  Thiago Miranda de Oliveira Sep 25 at 13:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.