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

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -