I have a web page and its URL looks like this:
And that's where I put my facebook-signin button:
What I'd like to do is to keep those parameters my page was called with, pass them to the spring social controller and when it's done and calls SignInAdapter.signIn() I can redirect the flow to
<form action="<c:url value="/social/signin/facebook" />" method="POST">
<button type="submit">Sign in with Facebook</button>
<input type="hidden" name="scope" value="email,publish_stream,offline_access" />
Could someone please tell me how to achieve this?
Thanks for your answer in advance!