top of page

OAuth 2.0 | Practical Demonstration | Spring Boot & GitHub

Wow! With the 10th article, we're now ready for the practical demonstration. For this, we're going to create a simple Spring Boot Web application that will act as a client application for us, and then we would log in via GitHub to our application. In this demo, we're relying on GitHub authentication and taking the help of OAuth2 to redirect users to the GitHub login screen (in case the user is not already logged in) and then requesting authorization to access the profile information of the user. Thus the resource, in this case, is GitHub's profile information which we're trying to gain access to.


Please go through https://www.techlearnings.org/single-post/oauth-2-0-client-authentication as we're going to rely on GitHub authentication in our case. Secondly, we're are going to use the authorization code grant type already explained here - https://www.techlearnings.org/single-post/oauth-2-0-scopes-roles-grant-types


There is a lot of stuff already explained in past articles, you may go through that for a better and easy understanding.




Do stay connected on LinkedIn, Facebook, Twitter, and YouTube wherever you feel comfortable. See you soon with the next article!


Mentioning other OAuth articles already published as a handy reference guide for further learning. Do check out in case you missed/want to re-read.



Happy TechLearnings!

Comments


bottom of page