Description
Expected Behavior
- RegisteredClient/OidcClientRegistration classes should provide access any Client Metadata parameters as per OIDC DCR spec
- RegisteredClientRepository should be able to store and retrieve any custom Client Metadata parameters.
Current Behavior
- Current DCR implementation supports only limited set of Client Metadata parameters
Context
in our project we need to register clients with some additional parameters which used in communication with downstream systems. It should be possible as per OIDC DCR spec, but the current implementation supports only limited set of Client Metadata parameters (even not custom, but specified in the spec). Could you consider to extend the current DCR implementation a bit? The most flexible way would be to store initial Client Registration request body as raw JSON string in DB and also provide access to it in RegistreredClient/OidcClientRegistration classes with generic Map<String, Object> interface, probably. Some CustomClientMetadataValidator component could be also useful to be able to customise Client Metadata validation.