I am having trouble understanding the Android Google+ Sign in documentation
I would like to support "sign in with Google" with Server-side access for your app and I also would like to support Cross-platform single sign on. However it's not clear if I can really do both since one is using the GoogleApiClient.connect()
and the other, the GoogleAuthUtil.getToken()
.
If I try to use both, GoogleAuthUtil.getToken()
to get an offline token and GoogleApiClient.connect()
for the cross platform single sign on, the user is prompt twice with a permission screen.
(I also have to set twice the server client id and scope which seams dumb)
Any ideas? Am I doing something wrong?