You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SaveCredentialsFile() does not store anything #343
Calling the SaveCredentialsFile() method with a filename does nothing
I followed to calls inside until oauth2client.client.Storage.locked_put at which point I see:
def locked_put(self, credentials):
"""Write a credential.
The Storage lock must be held when this is called.
Args:
credentials: Credentials, the credentials to store.
"""
raise NotImplementedError
I also see that oauth2client is deprecated for a while now. Is this a functionality that was removed or am I doing something wrong?
Fixed on main in #395, pending release. After signing in as a user, gauth.SaveCredentialsFile(path) writes the credentials to that path, and gauth.LoadCredentialsFile(path) reads them back. The new implementation raises an explicit error if the credentials cannot be saved. Save implementation
Activity
shcheklein commentedon Nov 21, 2026
Fixed on
mainin #395, pending release. After signing in as a user,gauth.SaveCredentialsFile(path)writes the credentials to that path, andgauth.LoadCredentialsFile(path)reads them back. The new implementation raises an explicit error if the credentials cannot be saved. Save implementation