Add a spring aware message encoder factory for OIDC response modes
Basics
Logistics
Basics
Logistics
Description
The OIDC work could benefit from having an encoder factory similar to the SAML SpringAwareMessageEncoderFactory which looks for ResponseMode types that, to some extent, replicate the SAML BindingDescriptors.
Useful to both the OPs response encoding and the RP. The RP can, for example, create a GET or POST authn request. It can also use a Request Object to specify authorization parameters - although deciding on this may need to be explicit in the profile configuration (or hints taken from the client metadata).
Of note, the OP does handle different response modes currently, but not using a ResponseMode lookup from application-context mechanism. This would be new.
The OIDC work could benefit from having an encoder factory similar to the SAML SpringAwareMessageEncoderFactory which looks for ResponseMode types that, to some extent, replicate the SAML BindingDescriptors.
Useful to both the OPs response encoding and the RP. The RP can, for example, create a GET or POST authn request. It can also use a Request Object to specify authorization parameters - although deciding on this may need to be explicit in the profile configuration (or hints taken from the client metadata).
Of note, the OP does handle different response modes currently, but not using a ResponseMode lookup from application-context mechanism. This would be new.