pydata-google-auth
pydata-google-auth copied to clipboard
A package providing helpers for authenticating to Google APIs.
Replacing it by a more recent version fixes it. But you might also consider migrating to another versioning tool and PEP517 build system. ``` [ 15s] + /usr/bin/python3.12 setup.py build...
Python 2.7 is dead for quite some time and there are Python3-only operating systems out there. There is no need to require six on those systems. Preserved backwards compatibility if...
When `pydata-google-auth` is used in contexts where the API is not enabled on the default GCP project that owns the client secrets or the default scopes do not include the...
Thanks for your work maintaining this repo, I appreciate it! The following is a minor docstring issue I noticed. The default value of `use_local_webserver` in `pydata_google_auth/auth.py:get_user_credentials` changed from `False` to...
If it's on localhost, it could default to use the nicer web server auth flow.
If on a remote server (e.g. using `auth_local_webserver=False`), then there's a good chance the code is running on a shared machine (e.g. a VM or Colab notebook). In these cases,...
In https://github.com/pydata/pydata-google-auth/pull/60, I noticed the docs build was failing. We should add a test session to make sure the docs build succeeds as pull request presubmit tests.
**Feature Requested** A Credentials object with file locking read / write option that emulates the old google oauth2client's [Storage](https://github.com/googleapis/oauth2client/blob/master/oauth2client/file.py#L28) and the post-refresh caching in [Client](https://github.com/googleapis/oauth2client/blob/master/oauth2client/client.py) **Potential Implementation** - a custom...
`run_console` will stop working this year. https://github.com/googleapis/python-bigquery/pull/1147 https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html?m=1#disallowed-oob See also: #54 to provide and alternative and #48 to cover a safer alternative for cross-cloud use cases.
The following line works OK for me to get credentials for gdrive: ``` pydata_google_auth.get_user_credentials( ["https://www.googleapis.com/auth/drive"]) ``` but the following line ``` pydata_google_auth.get_user_credentials( ["https://www.googleapis.com/auth/devstorage.read_write"]) ``` results in (same for "read_only" or...