This project implements a complete OAuth 2.0 authentication system with GitHub integration. It showcases the Authorization Code flow, where users can sign in with their GitHub accounts, and the application retrieves and displays their profile information. Built with Spring Boot, Spring Security, and Thymeleaf, this project demonstrates real-world OAuth implementation skills that are valuable for web development roles.
1 - Complete OAuth 2.0 Authorisation Code flow implementation 2 - GitHub authentication integration 3 - User profile data retrieval and display 4 - Responsive UI with Bootstrap and custom CSS 5 - Spring Security configurationTechnologies Java 17 Spring Boot 3.1.0 Spring Security OAuth2 Client Thymeleaf Bootstrap 5spring.security.oauth2.client.registration.github.client-id=YOUR_CLIENT_ID spring.security.oauth2.client.registration.github.client-secret=YOUR_CLIENT_SECRETmvn spring-boot:run-> Access the application at: http://localhost:8080 (change the port if you want to)
src/main/java/com/example/githubauth/ ├── config/SecurityConfig.java ├── controller/MainController.java └── GithubAuthApplication.java src/main/resources/ ├── static/css/style.css ├── templates/ │ ├── index.html │ ├── login.html │ └── profile.html └── application.properties
MIT LICENSE
Aditya Mishra. Happy Coding </>.