Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 570 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 570 Bytes

Spring Boot OAuth2 Client

Register OAuth2 Application

Register a OAuth application on Github and Google.

Configure application.yml

Replace GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET with Github credentials.

Replace GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET with Github credentials.

Run

gradlew bootRun

http://localhost:8080

Build a Docker daemon

gradlew jibDockerBuild

Run with

docker run -p 8080:8080 spring-secuirty-oauth2:0.0.1-SNAPSHOT