Let’s practically learn this OAuth2 Authorization Code Grant from below experiment, I want to login into https://www.pinterest.com/ site. Unfortunately I haven’t registered before so i click on signup page. So, i get below page, I can see a regular signup page seeking username, password. But notice that there is two more options. Continue with Facebook […]
Category: Spring Security
Oauth2 is an open standard used to protect resource known as protected resource. Let’s use flight analogy to understand what OAuth2 is, Client – The entity that wants to access the protected resource. Here passenger is the client who wants access a trip from Chennai to Pune. Protected Resource – The flight trip from Chennai […]
I am using JWT in my project for more than 1year but i never realized what actually it is and what it contains. In this post, let ‘see what is this and what it contains. Before we start using JWT, we were using base username and password. A encrypted username and password will be sent […]
In the previous post, we learnt how to create our brand new spring boot application. Now the questions comes, how to secure my spring boot application ? How to ensure my application resources are restricted to limited users ? and so on, In this post, let’s see how to enable spring security in our spring […]