title: Revoke Google application callback endpoint
body: <p>We're implementing web application and using Gmail API C# SDK to provide the access to users' mail.</p>
  <p>We revoke access to our app like following:</p>
  <pre><code>IAuthorizationCodeFlow googleApp;
  
  var token = await googleApp.LoadTokenAsync(orgId, CancellationToken.None).ConfigureAwait(false);
  
  googleApp.RevokeTokenAsync(orgId, token.AccessToken, CancellationToken.None).ConfigureAwait(false);
  </code></pre>
  <p>Code above works good - it removes the token from data storage and also it removes our app from Google Third Pary Apps with access to user's account.</p>
  <p>But what if user wants to revoke the app not withing our application, but from his Google account itself - how can our application get know that ? Is there any callback url that we can configure on our side to catch and handle the call from Google in this case? We didn't find anything similar neither in documentation nor in <a href="https://console.developers.google.com/" rel="nofollow noreferrer">https://console.developers.google.com/</a>.</p>
  <p>Of course, we know that we can handle it in our code when we make calls to Google and catch the specific Google SDK TokenResponseException exception, however it would be usefeull to have the callback endpoit.</p>
  <p>Thanks,
  Evgeny.</p>