Replies: 1 comment 2 replies
-
Hello @edmaputra , I'm not sure which Key Provider you've implemented and how, but I assume that you've extended The issue you've reported might be occurred due to the following code. I'm not sure it works well but how about overriding this KeyUse keyUse = KeyUse.valueOf(model.get(Attributes.KEY_USE, KeyUse.SIG.name()).toUpperCase());
key.setUse(keyUse == null ? KeyUse.SIG : keyUse); |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have implemented 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” keeps 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 ?
Beta Was this translation helpful? Give feedback.
All reactions