It seems that ProviderSignInUtils API has changed from static methods to interface, but docs still use old version which made me confused for some time.
If that will help, I solved it in straight forward way (probably not the best) in my SocialConfigurer added
@Autowired
ConnectionFactoryLocator connectionFactoryLocator;
@Bean
public ProviderSignInUtils providerSignInUtils() {
return new ProviderSignInUtils(connectionFactoryLocator, getUsersConnectionRepository(connectionFactoryLocator));
}
And just AutoWired it in controller where I needed it:
It seems that ProviderSignInUtils API has changed from static methods to interface, but docs still use old version which made me confused for some time.
If that will help, I solved it in straight forward way (probably not the best) in my SocialConfigurer added
And just AutoWired it in controller where I needed it: