square/js-jose

JWT ES512

andremarchezini opened this issue · 3 comments

Hey guys,

I need a big help creating a JWT using ES512 as per screenshot below. I could not find an example on the README. Anyone could help me with some guidance pretty please?

image

This is a screenshot from another piece of software. Are you sure you are running into an issue related to https://github.com/square/js-jose?

Hi @alokmenghrajani,

Thanks for your response. The screenshot is from the JWT website. I am just wondering if this library can achieve the same and if somehow someone could give me some tips as I didn't find on the readme how to do a ES512 encryption with private and public key. Sorry I don't have much knowledge on this but need to create the token.

This library supports ES512. You should have everything you need in here (see previously closed issues related to jwt). Perhaps, give it a shot and open a PR adding a working JWT example?