Spring boot, oAuth2 sign up with facebook
<p>I have been following @Dave Syers' excellent tutorial on <a href="https://spring.io/guides/tutorials/spring-boot-oauth2/" rel="nofollow" title="Spring boot and oauth2">Spring boot and oAuth2</a></p>

<p>I have been able to create a log in function, so that protected resources need a login to facebook before they can be accessed. </p>

<p>But now I am trying to create a "sign up" page. On stackoverflow, for example, there is an option to sign up with facebook, so your details are sent to Stackoverflow.com from facebook. How can this be performed with oAuth2? I was able to do this with spring-social, but I cannot wrap my head around how to do this with a direct oauth2 approach.</p>

<p>Please help?</p>