I am using a web application to authorize the user's Google account (for YouTube hardworking). Everything works well, but I do not know how the "logout" user, i.e. reset access token, from my application.
For example, the following code checks for user authentication and if not, the user shows the popup window for logging in to the account and the permission to use the web-app for user data :
gapi.auth.authorize ({client_id: CLIENT_ID, radius: scope, instant: incorrect}, handheld); But there is no way to reset authorization in the client library.
The user has to redirect to "accounts.google.com/logout", but this approach is not like that I need it: in this way, we only need a user from a Google account Log on, but also anywhere.
Google FAQ and client library details are not helpful.
Try canceling an access token, the actual grant should be canceled so that the auto-acceptance work Stop doing I think this will solve your problem.
No comments:
Post a Comment