So I managed to make a new login to Google using
GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
.requestScopes(new Scope(Scopes.DRIVE_APPFOLDER))
.build();
mGoogleApiClient = new GoogleApiClient.Builder(this)
.enableAutoManage(this , this )
.addApi(Auth.GOOGLE_SIGN_IN_API, gso)
.addApi(Drive.API)
.build();
And it works fine, but now I need an authentication code to send to my server, the problem is that when I add this line .requestServerAuthCode(CLIENTID)to GoogleSignInOption, the login error fails, providing a useless status code Status{statusCode=unknown status code: 12500, resolution=null}
I already configured OAUTH and I use the correct client identifier . What could be the reason?
source
share