/sb-oauth2-google-signin-demo

Combination of local OAuth2 authentication and Google Sign-in in Spring Boot application

Primary LanguageJava

Combination of local OAuth2 authentication and Google Sign-in in Spring Boot application

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.

Diagram

Used stack

Demo

Demo

Used resources