Skip to content

Experience state-of-the-art authentication using Spring Boot 3.0, empowering your application with the security of OAuth2.0. Enhance user convenience by enabling swift access through trusted platforms like GitHub, Facebook, and Google.

License

Notifications You must be signed in to change notification settings

Innocentsax/SPRING-SECURITY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Security with JWT,OAUTH2 and Keycloak

This Repo will help in understanding the Spring Security Architecture, important packages, interfaces, classes inside it which handles authentication and authorization requests in the web applications. It also covers most common security related topics like CORs, CSRF, JWT, OAUTH2, password management, method level security, user, roles & authorities management inside web applications.

Topics covered in the course

  • Spring Security framework details and it features
  • How to adapt security for a Java web application using Spring Security
  • Password Management in Spring Security with PasswordEncoders
  • Deep dive about encoding, encryption and hashing
  • What is CSRF, CORS and how to address them
  • What is Authentication and Authorization. How they are different from each other.
  • Securing endpoint URLs inside web applications using Ant, MVC & Regex Matchers
  • Filters in Spring Security and how to write own custom filters
  • Deep dive about JWT (JSON Web Tokens) and the role of them inside Authentication & Authorization
  • Deep dive about OAUTH2 and various grant type flows inside OAUTH2.
  • Deep dive about OpenID Connect & how it is related to OAUTH2
  • Applying authorization rules using roles, authorities inside a web application using Spring Security
  • Method level security in web/non-web applications
  • Social Login integrations into web applications
  • Set up of Authorization Server using KeyCloak

Pre-requisite for the course

  • Good understanding on Java and Spring concepts
  • Basic understanding on SpringBoot & REST services is a bonus but not mandatory
  • Interest to learn and explore about Spring Security

Important Links

Modern Authentication with Spring Boot 3.0, OAuth2.0, and Social Logins (GitHub, Facebook, Google)

Welcome to the Modern Authentication with Spring Boot 3.0, OAuth2.0, and Social Logins repository! This project focuses on implementing cutting-edge authentication techniques in Spring Boot 3.0, utilizing the power of OAuth2.0. With the integration of social login providers like GitHub, Facebook, and Google, this project aims to enhance both security and user experience.

Overview

Authentication is a critical aspect of any application, and with the evolution of Spring Boot to version 3.0, we bring you a comprehensive authentication solution. This project showcases the following key features:

  • Security with OAuth2.0: Leverage the robust OAuth2.0 framework to ensure secure authentication and authorization flows.

  • Social Logins Integration: Enable users to log in effortlessly using their GitHub, Facebook, or Google accounts. This feature not only enhances user experience but also minimizes friction during the sign-up process..

Getting Started.

To get started with this project:

  1. Clone this repository to your local machine using the following command:

    git clone https://github.com/your-username/AuthSpring3-SocialAuth.git
    
  2. Navigate to the project directory:

    cd AuthSpring3-SocialAuth
    
  3. Follow the installation instructions provided in the project's documentation to set up the required dependencies and configurations.

Usage

Detailed instructions and code snippets are provided in the project's documentation to guide you through the implementation of modern authentication with Spring Boot 3.0 and OAuth2.0. Additionally, you'll find steps for integrating social login providers such as GitHub, Facebook, and Google.

Contributing

We welcome contributions from the community! If you find a bug, have an enhancement idea, or want to contribute in any other way, feel free to open issues and pull requests in this repository.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Author

About

Experience state-of-the-art authentication using Spring Boot 3.0, empowering your application with the security of OAuth2.0. Enhance user convenience by enabling swift access through trusted platforms like GitHub, Facebook, and Google.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published