spring-social / spring-social-security / src / main / java / org / springframework / social / security / SocialAuthenticationFilter.java Line 305
This should catch org.springframework.security.core.userdetails.UsernameNotFoundException not BadCredentialsException (or maybe the super class AuthenticationException) as it means the catch doesn't happen and you cannot get the connection details from the session for signup registration forms.
spring-social / spring-social-security / src / main / java / org / springframework / social / security / SocialAuthenticationFilter.java Line 305
This should catch org.springframework.security.core.userdetails.UsernameNotFoundException not BadCredentialsException (or maybe the super class AuthenticationException) as it means the catch doesn't happen and you cannot get the connection details from the session for signup registration forms.