Files
google-mcp/auth/credential_store.py
Rob Sherman f1705ce81b fix(auth): filter non-credential files from list_users()
LocalDirectoryCredentialStore.list_users() enumerates all .json files
in the credentials directory, but oauth_states.json (written by
PersistentOAuthStateStore) is not a user credential file. In
single-user mode, this file can be picked up first alphabetically,
causing a TypeError when accessing credentials.scopes (None) since
the state file has no scopes field.

Filter out known non-credential files and filenames without '@' to
ensure only actual user credential files are returned.
2026-02-13 13:40:56 -08:00

9.2 KiB