I am trying to create a sign out functionality in my Gmail add-on.
I tried using the resetOAuth()
function that is provided in the documentation for Gmail add-ons, but it does not seem to reset my token and logout the third party user.
I also tried to use:
https://accounts.google.com/o/oauth2/revoke?token={token}
But I am getting an invalid_token
error.
How do I exactly use this functionality to successfully sign out my user?