An open API service indexing awesome lists of open source software.

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.

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.

![OAuth2Google1.java](OAuth2Google1.png "OAuth2Google - Login")
![OAuth2Google2.java](OAuth2Google2.png "OAuth2Google - Home")

### 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_SECRET

2. 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