Register a OAuth application on Github and Google.
Replace GITHUB_CLIENT_ID
and GITHUB_CLIENT_SECRET
with Github credentials.
Replace GOOGLE_CLIENT_ID
and GOOGLE_CLIENT_SECRET
with Github credentials.
gradlew bootRun
gradlew jibDockerBuild
Run with
docker run -p 8080:8080 spring-secuirty-oauth2:0.0.1-SNAPSHOT