I am very surprised to see that jwt.io can decode my jwt token that was generated via HS256 algorithm. Compared to RS256, HS256 carries only one key that is shared on both parties. I have never allowed one partiy to know what this key is (only serverside knows that) but, to be honest, one can find the key by doing crazy iteration until output comes out.
So now I am at the stage that single secret is not as secured as public/private key method. At the same time, jwt.io decodes my token successfully.
Anyone has any ideas about the limitation of HS256 algorithm and how jwt.io knows my jwt? Best!