Commit ee7ed1ac authored by Matija Obreza's avatar Matija Obreza
Browse files

Merge branch '302-google-auth-fails' into 'master'

Resolve "Google Auth fails"

Closes #302

See merge request genesys-pgr/genesys-server!196
parents e4d893a1 91503182
......@@ -22,7 +22,6 @@ import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.Primary;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
......@@ -184,7 +183,7 @@ public class OAuth2ServerConfig {
defaultTokenServices.setClientDetailsService(clientDetailsService);
defaultTokenServices.setAccessTokenValiditySeconds(accessTokenValiditySeconds);
defaultTokenServices.setRefreshTokenValiditySeconds(refreshTokenValiditySeconds);
// defaultTokenServices.setTokenEnhancer(tokenEnhancer());
defaultTokenServices.setTokenEnhancer(accessTokenConverter());
return defaultTokenServices;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment