I have authorised multiple accounts via Google's OAuth2. How do I get a list of accounts that I have authorised? I want to be able to revoke access.
To make it clearer, I go through the OAuth2 flow multiple times, each time selecting a different account. Then, I get the access/refresh token and save it to my database. By doing that, I noticed that I still get access to resources not tied to the latest account but also those that are tied to previously authorised accounts. I want to be able to list and allow my users to revoke access to these accounts.