androidgoogle-signingoogle-one-tappassword-managerandroid-credential-manager

How to delete an account from Google Password Manager programmatically?


This is a follow-up question to this. So I understand I can go to the Google Password Manager, find the email/password that is saved under that app, and manually delete it. But how can I delete it programmatically? For example, when I click a delete button inside my Android app, I want that account NOT to be displayed again in the selector the next time I sign in. Something similar to deleting a Google Account using GoogleSignInClient#revokeAccess(). How to solve this?


Solution

  • There is no programmatic way for doing this and users need to do that by going to the Google Password Manager settings.