Update: Pivotal Engineers have since tackled the same issue here: http://engineering.pivotal.io/post/faking_oauth_sso/
NOTE: For Spring Security 5.2 have a look at: https://github.com/timtebeek/spring-security-samples
Update: Pivotal Engineers have since tackled the same issue here: http://engineering.pivotal.io/post/faking_oauth_sso/
NOTE: For Spring Security 5.2 have a look at: https://github.com/timtebeek/spring-security-samples