-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client fails for reauth, while gsutil works fine #17
Comments
are there any updates on this? I experience the same error... |
I am getting the same error and was able to remove this error when disable https://support.google.com/a/answer/9368756?hl=en. Re-enable causes the same error. It looks like this happening in the python oauth2 sdk. |
Hi, gsutil asks for re-authentication, and asks for password. Our accounts are SSO enabled, so there is no password. How to proceed with this? For now, we use a service account
|
@sivakon Can I confirm that you are also under the "Session Length for Google Cloud Services" organization policy as per this page: https://support.google.com/a/answer/9368756?hl=en ? |
@andrewsg Upon talking with the support team, I found out that they implemented new security policy that restricts user auth session length https://support.google.com/a/answer/9368756?hl=en |
I believe this is actually an issue for the |
We're making progress on this in the auth side and should have a timeline soon. |
googleapis/google-auth-library-python#727 added reauth support to the synchronous version of user credentials. It was released in [ googleapis/google-auth-library-python#738 are now supported in added reauth support to the asynchronous version of user credentials. It was released in `google.auth 1.30.0. Note that the async version of the feature is marked as "internal ... for gcloud developers only" in the release notes. |
Environment details
General, Core, and Other are also allowed as types
Steps to reproduce
Trying to use could-storage python package with user-credentials but it fails asking "'invalid_grant: reauth related error (rapt_required)'". Reauth does not help. However if I try it with gsutil in the same shell everything works.
Our company policy changed couple months ago so gcloud asks lot more often reauthentication.
Code example
Stack trace
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!
The text was updated successfully, but these errors were encountered: