GAM Reauthentication

1,119 views
Skip to first unread message

zman

unread,
Apr 21, 2022, 11:34:56 AM4/21/22
to GAM for Google Workspace
Hi

I am sure this issue was brought up.  GAM keeps asking for reauthentication.

Thank you for the help

Traceback (most recent call last):
  File "gam\__main__.py", line 49, in <module>
  File "gam\__main__.py", line 44, in main
  File "gam\__init__.py", line 11655, in ProcessGAMCommand
  File "gam\gapi\directory\groups.py", line 369, in print_
  File "gam\gapi\directory\__init__.py", line 5, in build
  File "gam\__init__.py", line 1009, in buildGAPIObject
  File "gam\__init__.py", line 937, in getValidOauth2TxtCredentials
  File "gam\auth\oauth.py", line 474, in refresh
  File "gam\auth\oauth.py", line 482, in _locked_refresh
  File "google\oauth2\credentials.py", line 302, in refresh
  File "google\oauth2\reauth.py", line 334, in refresh_grant
google.auth.exceptions.RefreshError: Reauthentication is needed. Please run `gcloud auth login --update-adc` to reauthenticate.


Kim Nilsson

unread,
Apr 21, 2022, 12:46:44 PM4/21/22
to GAM for Google Workspace
Check your settings for Google Cloud Session Control.
You can exclude Trusted Apps. So add your GAM client_id in API Access Control, and set it to Trusted.

Abdelaziz Darouichi

unread,
Apr 21, 2022, 1:17:10 PM4/21/22
to google-ap...@googlegroups.com
Thank you for the help

Adding GAM Client_ID  resolved the issue.

On Thu, Apr 21, 2022 at 12:46 PM Kim Nilsson <there.is.no...@gmail.com> wrote:
Check your settings for Google Cloud Session Control.
You can exclude Trusted Apps. So add your GAM client_id in API Access Control, and set it to Trusted.

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/9f43786d-513f-4599-9aaf-7a7d831bcf23n%40googlegroups.com.

Please be advised that under the Public Records LawM.G.L. c.66, any email created or received by an employee of Wellesley Public Schools may be considered a public record and subject to public disclosure. This email may also contain confidential and privileged material for the sole use of the intended recipient. Any review or distribution by others is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies.
Reply all
Reply to author
Forward
0 new messages