Decoding JWT tokens without the secret -


i created token private key jwt, when try decode on http://kjur.github.io/jsjws/tool_jwt.html, found token can decoded without key given. correct jwt token signing? how keep token decoded without key?

there 2 ways in public/private keys can used jwt: signing , encryption.

if use private key signing, allows recipient identify sender of jwt , integrity of message not hide contents others (confidentiality). note sender's private key used sign jwt , produce json web signature (jws) object. apparently applies jwt you're looking at.

when using public key encryption can used hide content intended recipient. result json web encryption object. note public key of recipient used encrypt jwt. apparently you're looking for.

see: http://jose.readthedocs.org/en/latest/


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Using jquery append to add option values into a select element not working -

javascript - Restarting Supervisor and effect on FlaskSocketIO -