# Google Plus Login

**URL:** <https://community.auth0.com/t/google-plus-login/6373>\
**Category:** Get Help\
**Tags:** google, android, login\
**Created:** [April 26, 2017, 8:21pm UTC](https://community.auth0.com/t/google-plus-login/6373 "2017-04-26T20:21:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pandinus.imperator](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pandinus.imperator/32/3311_2.png) [@pandinus.imperator](https://community.auth0.com/u/pandinus.imperator)\
**Post date:** [April 26, 2017, 8:21pm UTC](https://community.auth0.com/t/google-plus-login/6373/1 "2017-04-26T20:21:44Z")

</div>

I’m using social login to access my Android app. To login with Facebook I’m using:

```
Auth0 auth0 = new Auth0(getString(R.string.auth0_client_id), getString(R.string.auth0_domain));
WebAuthProvider.init(auth0)
    .withConnection("facebook")
    .start(LoginActivity.this, new AuthCallback() {
        @Override
        public void onFailure(@NonNull Dialog dialog) {
            …
        }
        @Override
        public void onFailure(AuthenticationException exception) {
            …
        }
        @Override
        public void onSuccess(@NonNull Credentials credentials) {
            …
        }
});

```

and it’s working fine. Is there a way to do something similar to login using Google+? I’ve tried using `withConnection("google")` and `withConnection("googleplus")`, but it doesn’t work…

I do not want to use Lock.

---

<div class="post-metadata">

**Author:** ![pandinus.imperator](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pandinus.imperator/32/3311_2.png) [@pandinus.imperator](https://community.auth0.com/u/pandinus.imperator)\
**Post date:** [April 26, 2017, 8:49pm UTC](https://community.auth0.com/t/google-plus-login/6373/2 "2017-04-26T20:49:26Z")

</div>

Found the answer! It works when I use `withConnection("google-oauth2")`.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:53am UTC](https://community.auth0.com/t/google-plus-login/6373/3 "2018-03-02T05:53:30Z")

</div>


