Hi,
I have implement a custom SPI for Key Provider to create a Key with EC, combine with nimbus-jose-jwt library so I can create a key with ECDH-ES+A128KW algorithm.
The key is generated successfully, but when I want to publish it in oidc jwks uri, the “use” keep on “sig” value, even I set it to the “enc” in the configuration. I also try to force the “use” value to “enc” in the code but it still happening. Can someone explain why and what should I do ?

