Twitter authentication

Our application is strongly integrated with Twitter, so it seems logical that we would allow authentication through Twitter.

Before going further, make sure that you have enabled Twitter sign in on your app on Twitter (https://apps.twitter.com):

Twitter authentication

Setting up social authentication

Spring social enables authentication through an OAuth provider such as Twitter through a signin/signup scenario. It will intercept a POST request on /signin/twitter. If the user is not known to the UsersConnectionRepository interface, the signup endpoint will be called. It will allow us to take the necessary measures to register the user on our system ...

Get Spring MVC: Designing Real-World Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.