Expected Behavior
Allow to use custom RestTemplate configuration for ClientRegistrations.fromIssuerLocation.
Current Behavior
can't be customised
Context
need to configure custom certificate chain.
Comment From: jgrandja
@joshiste Please see this comment:
ClientRegistrationsis intended to be used as a utility/convenience class. It was designed to fulfill most use cases, however, it may not be suitable for certain use cases. For example, if the internal network traffic must be routed through a Proxy, you can bypass discovery by configuring theauthorization-uriandtoken-uriproperty instead of theissuer-uriproperty.NOTE: The underlying HTTP Client used in
ClientRegistrationswas purposely encapsulated and there is no plan to expose it.