Join 2.9 million developers at
Join 2.9 million developers at
LEARNING OBJECTIVES
- - Learn to implement and use the Oauth2 authentication process
- - Understand the working of password grant, authorization grant, and refresh token grant
- - Learn how to set cross-origin resource sharing (CORS) policies
- - Learn how to create custom user-principal
Learning Roadmap
2.
Theory
Theory
Unpack the core of OAuth2 authorization mechanisms including Password, Authorization Code, and Refresh Token Grants.
3.
Practice
Practice
3 Lessons
3 Lessons
Go hands-on with JavaScript XHR, user self-implementation, and running projects via CLI.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Complete more lessons to unlock your certificate
Developed by MAANG Engineers
ABOUT THIS COURSE
If you’re curious about getting started with Oauth2 and Spring Security then you’re in the right place. This course will show you what Oauth2 is, why it’s important, and how to use it effectively.
You’ll start with an overview of Oauth2 in general and then explore the different types of grants including password grants, authorization grants, refresh token grants, and more. All these concepts are backed by hands-on exercises, so you’ll get to practice creating cross-origin resource sharing policies, custom user-principal, and configuration of the authorization server to send login credentials via JSON.
By the end of this course, you will have the foundations in place to add a proper authentication system to your application.
ABOUT THE AUTHOR
Davide Pugliese
I was born in Italy but I moved in Romania a few years ago where I work as a Software Developer. I have worked with different technologies and in the end I sticked with Java, Spring, Typescript, React JS.
Trusted by 2.9 million developers working at companies
A
Anthony Walker
@_webarchitect_
E
Evan Dunbar
ML Engineer
S
Software Developer
Carlos Matias La Borde
S
Souvik Kundu
Front-end Developer
V
Vinay Krishnaiah
Software Developer
Built for 10x Developers
No Passive Learning
Learn by building with project-based lessons and in-browser code editor


Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go


Future-proof Your Career
Get hands-on with in-demand skills


AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"




MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies


Free Resources