Just looked at the video here RS256 vs HS256 What's the difference? and it says that for RS256 algorythm a private key is used to create a JWT signature and a public key is used to veirfy the signature. This makes total sense.
Why does jwt.io ask for my private key to verify the signature?
If I need to share the private key, then this is no different from HS256 where the same key is used to both create and verify the signature?
Ok, it looks like I actually can verify a token with just the public key (which was my main concern), but still curious why jwt.io requires a private key. This is pretty confusing.
Thanks for following up on this - I agree the language there is a bit confusing FWIW if you are using RS256 jwt.io should automatically verify the signature for you without having to paste in your public key at all. It does this by using the issuer iss claim to call the jwks endpoint and use the public key from there.