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.
Comments
Post a Comment