I’m working with the Google Drive API and need to test the authorization flow. When users install my Chrome Web Store app, it gets access to their Google Drive data through the API. For testing purposes, I want to completely remove these permissions and start fresh. I already tried removing the app from Chrome Web Store but the Drive API connections are still working. What am I missing here? Is there another place where I need to disconnect the app from Google Drive? I need to simulate a clean state where the user hasn’t granted any permissions yet.
There’s a gotcha here that bit me when building my Drive integration. Revoking permissions in Google account settings doesn’t kill everything - your app’s cached OAuth tokens keep working for a while. The Chrome extension stores these tokens locally, so you’ve got to wipe the extension storage too. Hit chrome://extensions, find your app, and clear storage (or do it programmatically with chrome.storage). Also check Google Cloud Console for your project - sometimes active sessions hang around under the OAuth consent screen that you need to kill manually. You need both steps: revoke permissions AND clear local storage to get a clean slate for testing.
u should check ur Google account settings, go to the security part. find “third-party apps with access” or smth like that. your Chrome app might show up there. just revoke its access and it should stop the API connection.
Removing your app from the Chrome Web Store won’t revoke its OAuth permissions. You must do this manually by visiting myaccount.google.com. From there, navigate to “Data & privacy” and then look for “Third-party apps & services.” You should find your app listed with access to Google Drive. Click on it and select “Remove access” to eliminate the permissions entirely. After this action, your API calls will result in authorization errors, confirming that you have achieved the clean state you desire. This process is separate from the Chrome extension management, as it deals specifically with the OAuth tokens.
This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.