[JWT] Unexpected error while siging the token

[JWT] Unexpected error while siging the token

  
Forge Component
(2)
Published on 15 Feb by João Almeida
2 votes
Published on 15 Feb by João Almeida

Hi!

I try to make an assymetric token using RS512 algorithm, but I get the error "Unexpected error while siging the token" instead.

In the screenshot below you can see my input for the server action. I also get the same error while creating a symetric token. Can someone help me out?



Hello Jordi, 

I'll try to replicate your test case and will get back to you


Thanks for your feedback!

Solution

Hi again, Jordi. There's an error in all the Create Token actions when the expiration date is empty, the quick fix is to pass the Expiration date (I have other changes and can't upload a new version of the component to the forge yet).

Solution

João Almeida wrote:

Hi again, Jordi. There's an error in all the Create Token actions when the expiration date is empty, the quick fix is to pass the Expiration date (I have other changes and can't upload a new version of the component to the forge yet).

Thank you João,

Do you have any idea when you have implemented the decode part of a JWT token?



Jordi Gräffner wrote:

Do you have any idea when you have implemented the decode part of a JWT token?


Soon, it's already mostly  implemented but still needs testing.