https://github.com/andrzejszelag/oauth2google
A Spring Boot web-based application configured to use OAuth 2.0 with Google API.
https://github.com/andrzejszelag/oauth2google
google-api intellij-idea junit5 maven oauth2 spring-boot spring-security thymeleaf
Last synced: 2 months ago
JSON representation
A Spring Boot web-based application configured to use OAuth 2.0 with Google API.
- Host: GitHub
- URL: https://github.com/andrzejszelag/oauth2google
- Owner: AndrzejSzelag
- Created: 2025-01-26T17:30:43.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-03-09T16:30:55.000Z (3 months ago)
- Last Synced: 2025-03-09T17:18:34.707Z (3 months ago)
- Topics: google-api, intellij-idea, junit5, maven, oauth2, spring-boot, spring-security, thymeleaf
- Language: Java
- Homepage: https://github.com/AndrzejSzelag/oauth2google
- Size: 168 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OAuth 2.0 Google
### A Spring Boot web-based application configured to use OAuth 2.0 with Google API.

### Tech Stack
* 🔶 Java 21.0.5 LTS
* 🔶 Spring Boot 3.4.2
* 🔶 Apache Maven 3.9.8### Testing
* 🔶 SonarQube 8.9.10.61524
* 🔶 JUnit 5.11.4
* 🔶 AssertJ 3.26.3
* 🔶 Mockito 5.14.2### IDE
* 🔶 IntelliJ IDEA 2024.3.2.1 (Ultimate Edition)#### What is OAuth 2.0?
OAuth (Open Authorization) 2.0, is a framework, specified by the Internet Engineering Task Force (IETF) in RFCs [6749](https://datatracker.ietf.org/doc/html/rfc6749) and [6750](https://datatracker.ietf.org/doc/html/rfc6750) (published in 2012) designed to support the development of authentication and authorization protocols. It provides a variety of standardized message flows based on JSON and HTTP.
#### How use OAuth2.0?
1. Configuring an **OAuth 2.0 Google** application in **Google Cloud Platform** (https://cloud.google.com/).
You need:
CLIENT_ID
CLIENT_SECRET2. Clone a GitHub Repository to your computer:
git clone https://github.com/AndrzejSzelag/oauth2google.git
3. Run application and in your web browser paste a URL:
http://localhost:7777