Spring Boot: OAuth

Social login with Spring Boot

Two main alternatives:

Pac4j:

Start with this:

Spring boot’s own approach

https://spring.io/guides/tutorials/spring-boot-oauth2/

Note that you may also need this information for managing the configuration secrets securely:

This may be more useful

Section 4 of this document, which describes the OAuth2 client, may also be relevant:

The format of the Callback URL should apparently be:

http://localhost:8080/login/oauth2/code/github

OR

https://my-heroku-app-name.herokuapp.com/login/oauth2/code/github

OAuth with Spring Boot

More notes