Remove Google Drive Web Auth token javascript -
i have set web authentication google drive api. used tutorial here, , can upload , download files. cannot, though, find reference in api how revoke authentication (i want give users option). found on : gapi.auth.signout()
not remove auth, nor give error in console. there not gapi.auth method remove token?
to revoke token, can make rest call :
and includes token parameter:
curl https://accounts.google.com/o/oauth2/revoke?token={token}
Comments
Post a Comment