See the Google OAuth2 documentation on how to get registered user information.
Basically this is just a GET call https://www.googleapis.com/oauth2/v1/userinfo with the correct access token. The response includes a user ID.
Please note that you also need to include the correct scope in your first Google redirects:
https:
source share