Programmatically logout from Gmail via Oauth

gmail, logout, oauth

Solution

As far as I know, there is no logout in OAuth. You simply stop sending tokens between your application and Gmail.

Problem

I have a website where I use Oauth to log users into Gmail, and then retrieve their contacts and other info. What do I need to do to ensure that when the user logs-off my website, he automatically logs out from Gmail too?

Original source