Product/components used and version/fix level:
webMethods 10.5 and CoreFix 7
Detailed explanation of the problem:
Need help, is their a way to generate signed JWT using ES256 Algorithm. We on lower version. so we do not have built in service under pub.jwt…
Error messages / full error message screenshot / log file:
Tried using the java service in Forum. but it only works for SHA256 . is their java service to generate token using EC Keypair.
Hi Yousef,
The service pub.security:sign does not currently support the built in key store, this is planned in the roadmap. The key/trust store can only be used for transport and authentication as well as creating and verifying JWT tokens (pub.jwt.*). Perhaps you could use a JWT token along with your text as a claim ?
regards,
John.
Question related to a free trial , or to a production (customer) instance?
The code sample provided appears to use the java.security.Signature class which provides support for a limited set of algorithms , you could evaluate some open source providers for ES256.
Alternatively , you could log a feature request for this too.
-NP
I created java service using nimbus-jose Libraries. Thanks for your help
https://www.javadoc.io/doc/com.nimbusds/nimbus-jose-jwt/latest/index.html
system
(system)
Closed
October 9, 2024, 4:41pm
4
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.