oauth 2.0 - Android installed app: Revoking OAuth2 access to Google Account -


i've installed android application. first time ran oauth2 window showed asking me whether wanted grant application access scope within user account.

however i've gone https://accounts.google.com/b/0/issuedauthsubtokens?hl=en , revoked access, application still runs without asking me question of whether allow access account or not.

the application sample auth activity comes google play extras.

what can application display question in popup window again? i've tried uninstalling , reinstalling cannot window , need testing purposes.

thanks.

try programmatically revoke token making request - https://accounts.google.com/o/oauth2/revoke , include token parameter. ::

curl https://accounts.google.com/o/oauth2/revoke?token={token}

the token can access token or refresh token. if token access token , has corresponding refresh token, refresh token revoked.

if revocation processed, status code of response 200. error conditions, status code 400 returned along error code.

the error code give idea if revocation successful or not.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -