feat(jans-auth-server): rename "key_ops" -> "key_ops_type" (some frameworks does not allow custom key_ops like "ssa") #3790
Labels
comp-jans-auth-server
Component affected by issue or PR
kind-feature
Issue or PR is a new feature request
Milestone
Description
AS publishes jwks with
key_ops
as following:"key_ops": ["connect"]
"key_ops": ["ssa"]
Nimbus has strict list of
key_ops
defined and does not allow custom values like,connect
orssa
. It leads to failure for any JWT validation pointed to our remote jwks.Here is source code of nimbus:
https://bitbucket.org/connect2id/nimbus-jose-jwt/src/master/src/main/java/com/nimbusds/jose/jwk/KeyOperation.java
Anyone can use nimbus for validation. We can't allow it fail.
Thus idea is to rename "key_ops" -> "key_ops_type" in our jwks
Related: #3415
The text was updated successfully, but these errors were encountered: