Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

OAuth-2.0

Implementing with Spring Security and Spring Boot

Overview

This project demonstrates how to implement OAuth 2.0 authentication and authorization in a Spring Boot application using Spring Security. It showcases how to integrate third-party identity providers (like Google, GitHub, or custom Authorization Servers), handle secure token flows, and protect APIs using standardized OAuth 2.0 mechanisms.

The implementation emphasizes scalability, maintainability, and security best practices, making it a strong foundation for modern applications requiring robust user authentication.

               +------------------------+
               |   Authorization Server |
               | (e.g., Google, GitHub) |
               +-----------+------------+
                           |
                           | Authorization Code
                           |
              +------------v-------------+
              |   Spring Boot App        |
              | (OAuth2 Client + Resource|
              |   Server using JWT)      |
              +------------+-------------+
                           |
                           | Access Token (Bearer)
                           |
               +-----------v------------+
               |   Protected Resources  |
               | (APIs, Microservices)  |
               +------------------------+

About

Implementing with Spring Security and Spring Boot

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages