Enable authentication with a google account using OAuth2. Missing the exchange of the authorization code with an access token and a refresh token.
Need to know the authentication provider to be able to change the behavior of the sign out link.