Quantcast
Channel: Spring Community Forums - Social
Viewing all articles
Browse latest Browse all 145

Redirect to the original URL after signin?????

$
0
0
Spring social and security experts,

I have the following use case:
1. User requests a specific URL like http://www.foobar.com/foo/1001
2. Anonymous user can see this page but cannot post a comment in this page. Comment posting part is secured by Spring security.
3. User clicks login. It pops up a login window or redirect it to login page.
4. The user chooses to sign in with Facebook ID.
5. After user signed in using FB, it redirects the user to http://www.foobar.com/foo/1001 with authorization.

I was wondering how I can do that using Spring Social. Thanks a lot!!

Viewing all articles
Browse latest Browse all 145

Trending Articles