Partial logic for Google OAuth2.