0

I have found for facebook: DELETE /{user_id}/permissions But not found like above for Google I am using following Laravel package https://github.com/oriceon/oauth-5-laravel

  • Possible duplicate of [Server side removal of Oauth token](https://stackoverflow.com/questions/11087240/server-side-removal-of-oauth-token) – aynber Jun 07 '17 at 19:21
  • Possible duplicate of [Revoke Google Access Token in PHP](https://stackoverflow.com/questions/31515231/revoke-google-access-token-in-php) – Morfinismo Jun 08 '17 at 01:51

1 Answers1

1

you need to revoke the oauth token

$client->revokeToken();

check the documentation when using oauth2 this might help you https://developers.google.com/identity/protocols/OAuth2WebServer

vlad awtsu
  • 185
  • 1
  • 2
  • 14