GPCsolutions / zenfusionoauth

A Google APIs OAuth 2 client for ZenFusion & Dolibarr
https://www.dolistore.com/en/modules/313-ZenFusion-OAuth-for-Google.html
GNU General Public License v3.0
0 stars 1 forks source link

Handle invalid grant #39

Open rdoursenaud opened 8 years ago

rdoursenaud commented 8 years ago

Deactivate token and redirect user to authentication page.

Sample error:

Error refreshing the OAuth2 token, message: '{
  "error" : "invalid_grant",
  "error_description" : "Token has been revoked."
}'