google api - access_type: 'online' and approval_prompt: 'force' together, request offline access the second time -
i try authorize application both params:
https://accounts.google.com/o/oauth2/auth?scope=https://www.google.com/m8/feeds &response_type=code &access_type=online &approval_prompt=force &redirect_uri=..... ...
first time requests access "manage contacts", ok. when try authorize second time, asks user allow "have offline access" permission, not ok.
cleaning cookies doesn't help. neither revoking access in account settings. looks google bug.
actually, need force user select account on authorize, not force ask offline access.
i tried prompt=select_account
instead, not working @ all.
seem prompt=select_account
works. required several accounts logged on same computer.
Comments
Post a Comment