How to enable communication over https between 2 spring boot applications using self signed certificate Introduction In this tutorial, we will try to cover how we can enable HTTPS communication over 2 Spring boot applications. HTTPS was developed for exchanging confidential information in a secured manner by making use of encryption using public and private keys in […]
Tag: spring security
Part-2: Authorising user using Spring Social (Google, Facebook, LinkedIn) and Spring Security
Part-2: Authorising user using Spring Social (Google, FaceBook and LinkedIn) and Spring Security Introduction In the last part, I had demonstrated how we can use spring-social to authorize user using Facebook, Google and LinkedIn API’s. If you have not read the last part, I would request you to have a look and then come […]
How to change the default spring social redirect page flow
How to fix spring boot and spring social redirection to facebookConnected.html twitterConnected.html,linkedInconnected.html or googleConnected.html Introduction Spring Boot when plugged with Spring social does provide a quick and easy way to log on to social providers and access the data quickly. However, it does have lot of shortcomings too like Supporting only single user sign per […]
How to access LinkedIn data using spring-social
How to access LinkedIn data using spring-social and spring boot Introduction Spring Social provides the capability which enables our application to interact with LinkedIn Rest API and get user data. Considering how popular social logins have become recently, it is a nice feature to have on your website. Getting started I would suggest you to […]
How to access google data using spring-social and spring boot
How to access google data using spring-social Introduction Spring social do have a spring-social-google project but it doesn’t have autoconfiguration for Google. So google authorization doesn’t work with spring boot autoconfigure straight away. I had created a pull request and merged the code to spring repository but got the following reply Thanks for the PR. […]
Spring Social Facebook Authentication Example for multiple users
How to Fix Spring-Social Facebook one user per application problem. Problem I was working on this Accessing FaceBook Data tutorial and it was easy peasy to get it up and running. However, when I tested it for some time I realised that it only supports one user. So when the first users log in to […]
Spring Boot and Spring Security OAuth2 tutorial for Authorization through Facebook, Google, LinkedIn and Twitter
Spring Boot oauth2 tutorial for accessing Facebook, Google, LinkedIn and Twitter In this tutorial we will extend the Spring Boot OAuth2 tutorial, to provide support for Google, Twitter and LinkedIn along with Facebook. The above tutorial implements a Single sign-on with facebook. If you have not gone through the above tutorial, please have a look before […]