How to identify a Google OAuth2 user?
As others have mentioned, you can send a GET to https://www.googleapis.com/oauth2/v3/userinfo, using the OAuth2 bearer token you just received, and you will get a response with some information about the user (id, name, etc.). It’s also worth mentioning that Google implements OpenID Connect and that this user info endpoint is just one part of it. … Read more