OkHttpClient httpClient = new OkHttpClient(); /** * Google: * You will need to redirect your user to GoogleUserCredentialProvider.LOGIN_URL * Afer this, the user must signin on google and get the token that will be show to him. * This token will need to be put as argument to login. */ GoogleUserCredentialProvider provider = new GoogleUserCredentialProvider(httpClient); // in this url, you will get