Code for JWT token are giving The Token's Signature resulted invalid when verified using the Algorithm: HmacSHA256

Hi @Tommy

i was trying to get JWT token using Java code but it is giving “The Token’s Signature resulted invalid when verified using the Algorithm: HmacSHA256” whereas after decode marketplace token and my token i am getting same key in both.
Is there any API’s to get JWT token, or is there any another encoding techniques.
Thanks
Prem

Hey @prem.srivastava,

Can you try generating your JWT via jwt.io or one of the Java libraries listed there?

Let me know if that helps!

Thanks,
Tommy

1 Like