File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/java/eu/openanalytics/containerproxy/auth/impl/oidc Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 3737import org .springframework .security .oauth2 .client .web .DefaultOAuth2AuthorizedClientManager ;
3838import org .springframework .security .oauth2 .client .web .OAuth2AuthorizedClientRepository ;
3939import org .springframework .security .oauth2 .core .AuthorizationGrantType ;
40+ import org .springframework .security .oauth2 .core .ClientAuthenticationMethod ;
4041import org .springframework .security .oauth2 .jose .jws .SignatureAlgorithm ;
4142import org .springframework .security .oauth2 .jwt .JwtDecoderFactory ;
4243
@@ -88,7 +89,7 @@ public ClientRegistrationRepository clientRegistrationRepository() {
8889 .clientId (environment .getProperty ("proxy.openid.client-id" ))
8990 .clientSecret (environment .getProperty ("proxy.openid.client-secret" ))
9091 .userInfoUri (environment .getProperty ("proxy.openid.userinfo-url" ))
91- .clientAuthenticationMethod (environment .getProperty ("proxy.openid.client-authentication-method" ))
92+ .clientAuthenticationMethod (environment .getProperty ("proxy.openid.client-authentication-method" , ClientAuthenticationMethod . class ))
9293 .build ();
9394
9495 return new InMemoryClientRegistrationRepository (Collections .singletonList (client ));
You can’t perform that action at this time.
0 commit comments