https://github.com/andrzejszelag/oauth2githubssl
A Spring Boot web application configured to use OAuth 2.0 with GitHub API and self-signed SSL certificate.
https://github.com/andrzejszelag/oauth2githubssl
github-api gradle oauth2 spirng-boot spring-security ssl-certificates thymeleaf tomcat10
Last synced: 3 months ago
JSON representation
A Spring Boot web application configured to use OAuth 2.0 with GitHub API and self-signed SSL certificate.
- Host: GitHub
- URL: https://github.com/andrzejszelag/oauth2githubssl
- Owner: AndrzejSzelag
- Created: 2025-03-02T14:28:27.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-02T15:24:19.000Z (3 months ago)
- Last Synced: 2025-03-02T15:29:55.499Z (3 months ago)
- Topics: github-api, gradle, oauth2, spirng-boot, spring-security, ssl-certificates, thymeleaf, tomcat10
- Language: Java
- Homepage: https://github.com/AndrzejSzelag/oauth2githubssl
- Size: 299 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OAuth 2.0 GitHub SSL
### A Spring Boot web application configured to use OAuth 2.0 with GitHub API and self-signed SSL certificate.

### Tech Stack
* 🔶 Java 21.0.5 LTS
* 🔶 Spring Boot 3.4.3
* 🔶 Gradle 8.12.1
* 🔶 Apache Tomcat 10.1.36### IDE
* 🔶 Visual Studio Code - Insiders 1.97.2#### What is OAuth 2.0?
OAuth (Open Authorization) 2.0 is an open authorization standard. It provides a way for users to log into a web-based
application (Spring Security OAuth 2.0) by delegating the authentication process to trusted third-party services, such
as Google and GitHub. The full specification of the OAuth 2.0 protocol can be found
in [RFC 6749](https://datatracker.ietf.org/doc/html/rfc6749).#### How use OAuth2.0?
1. Configuring an **OAuth 2.0 GitHub SSL** application in **GitHub** (https://github.com/).
You need:
CLIENT_ID
CLIENT_SECRET
REDIRECT_URI (e.g. http://localhost:8080/login/oauth2/code/github)2. Clone a GitHub Repository to your computer:
git clone https://github.com/AndrzejSzelag/oauth2githubssl.git
3. Run application and in your web browser paste a URL:
http://localhost:8080