android - Google+ sign in without google+ profile -
according post: http://googleplusplatform.blogspot.com/2013/12/google-sign-in-improvements11.html
and excerpt:
https://developers.google.com/+/api/auth-migration#all-users google+ sign-in provides support users google account, if have not yet created google+ profile. app can use https://www.googleapis.com/auth/plus.login scope or basic profile scope: [...]
profile scope - adding google+ sign-in button profile scope provides simple, secure way authenticate users access user's basic information. users not prompted create google+ profile.
i gather no longer required have google+ account use google+ oath2.0 authentication google pushing on, great! when use example code fragment:
googleapiclient googleapiclient = new googleapiclient.builder(this) .addconnectioncallbacks(this) .addonconnectionfailedlistener(this) .addapi(plus.api, null) .addscope(new scope("profile")) .build();
it still asks me 'upgrade' account google+ don't want force users to.
can me need change in example? i've tried different scopes same outcome. different api couldn't find (and shouldn't necessary).
Comments
Post a Comment