Class GoogleOAuth2IdentityResolverService

  • All Implemented Interfaces:
    Pluggable, OAuth2IdentityResolverService

    public class GoogleOAuth2IdentityResolverService
    extends Object
    implements OAuth2IdentityResolverService
    An identity resolver that calls Google's userinfo endpoint https://www.googleapis.com/oauth2/v3/userinfo. It requires that the authentication request includes the scope 'profile' in order that 'sub' (the user identifier) appears in userinfo's response. For endpoint is documented: https://developers.google.com/identity/protocols/OpenIDConnect