This example demonstrates the situation when you have Single Page Application (SPA), your own authorization server that works with JWT tokens and your own user database, but you need to add authentication via Google Sign-in, so that Google users are transparently registered in the local user database and your JWT token was generated for them as well.
- Spring Boot 2.2.x
- Spring Security OAuth Boot 2 Autoconfig 2.2.x
- Spring Web MVC
- Google API Client
- H2 Database
- Lombok
- Bootstrap
- JQuery