RSA Sign/Verify JWT fails

Using RSAObj.TRSA class to do the signing & validation. I can check signed JWT on JWT.IO and it validates successfully, but it fails here.

Here's a screenshot of the test app:

Same JWT validation on JWT.IO:

Sample project attached.
TMS_JOSE1.ZIP (4.8 KB)

Never mind, found my mistake: the signature needs to be passed in decoded ;-)