Google Plus on iOS - GPPSignIn authenticate always prompts for consent -



Google Plus on iOS - GPPSignIn authenticate always prompts for consent -

we have server on sign these parameters:

<button id="su-googlebtn" class="btn btn-social btn-lg g-signin" data-scope="https://www.googleapis.com/auth/plus.profile.emails.read" data-clientid=webclientid data-redirecturi="postmessage" data-accesstype="offline" data-cookiepolicy="single_host_origin" data-callback="signingoogle"> <i id="googleicon" class="fa fa-google-plus redicon"></i> google+ </button>

i've authed google business relationship against server. consent asks

know on google view email addresses

now in ios app, utilize these parameters:

gppsignin *signin = [gppsignin sharedinstance]; signin.homeserverclientid = webclientid; signin.clientid = appclientid; signin.scopes = @[ @"https://www.googleapis.com/auth/plus.profile.emails.read" ];

any time sign in same business relationship on app using authenticate, bumps me out web , asks consent "have offline access". if have google plus installed, bumps me out instead , asks consent same web. question is, after calling [[gppsignin sharedinstance] signout], [[gppsignin sharedinstance] authenticate] prompt new consent? doesn't create much sense me they've consented. secondary question why consents in google plus vs safari/chrome different?

note: trysilentauthentication works expected , gives me idtoken can send server verification.

second note: not need create api calls client, server, need on client side id token can utilize authenticate user on our server. should using uiwebview auth instead of native gppsignin library?

ios google-plus google-oauth google-authentication

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

ubuntu - Bash Script to Check That Files Are Being Created -

Php operator `break` doesn't stop while -