@@ -0,0 +1,980 @@
+package io.github.saidie.plantuml_api.config;%0A%0Aimport javax.sql.DataSource;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.context.annotation.Configuration;%0Aimport org.springframework.security.crypto.encrypt.Encryptors;%0Aimport org.springframework.social.config.annotation.SocialConfigurerAdapter;%0Aimport org.springframework.social.connect.ConnectionFactoryLocator;%0Aimport org.springframework.social.connect.UsersConnectionRepository;%0Aimport org.springframework.social.connect.jdbc.JdbcUsersConnectionRepository;%0A%0A@Configuration%0Apublic class SocialConfig extends SocialConfigurerAdapter %7B%0A    @Autowired%0A    private DataSource dataSource;%0A%0A    public UsersConnectionRepository getUsersConnectionRepository(ConnectionFactoryLocator connectionFactoryLocator) %7B%0A        UsersConnectionRepository repository = new JdbcUsersConnectionRepository(dataSource, connectionFactoryLocator, Encryptors.noOpText());%0A%0A        return repository;%0A    %7D%0A%7D%0A

Add SocialConfig