The problem seems to be related with the custom SignInAdapter. Initially, I was using the following code:
UsernamePasswordAuthenticationToken auth = new...
Type: Posts; User: javierhe; Keyword(s):
The problem seems to be related with the custom SignInAdapter. Initially, I was using the following code:
UsernamePasswordAuthenticationToken auth = new...
Using spring-security, I have a custom UserDetailsService, returning the following UserDetails:
...
HashSet<SimpleGrantedAuthority> authSet = new HashSet<SimpleGrantedAuthority>();
...
Finally found the problem. For some reason I was using spring-social 1.1.0.SNAPSHOT, using the stable version 1.0.2.RELEASE seems to resolve the issue.
Debugging the code I've seen the cause of error, the clientId and clientSecret aren't sent to google in the Oauth request. The values are correctly set when creating the GoogleConnectionFactory, so...
I'm new to spring-social, and I'm trying to modify the project sample spring-social-showcase to add Google connection, using spring-social-google. The demo from spring-social-google works ok with my...