Create OpenID Connect Discovery Client which is capable of requesting Provider Metadata via the supplied issuer.
Related #5523, #5540, #5350
NOTE: There is existing logic for OpenID Connect Discovery in OidcConfigurationProvider. We should extract this logic to allow for re-use in Client and Resource Server.
Comment From: jgrandja
We're going to hold off on this feature for 5.1. This branch contains this feature and we'll consider adding it in a later release.
Comment From: pthorson
Note: OidcConfigurationProvider moved to ClientRegistrations in https://github.com/spring-projects/spring-security/commit/742716fae3695317f4587ca41b91710ebce40a56
Comment From: jgrandja
Closing as this feature is not needed at the moment.
Comment From: nevmerzhitsky
Sorry, why did you not include the OpenID Connect Discovery Client to the library? There is an automated way to take jwks_uri key from the URLs like oauth2/.well-known/openid-configuration by the lib to pass it into createRemoteJWKSet()?