GAM - Re-authentication required every day

128 views
Skip to first unread message

4 EIS MGT

unread,
Dec 15, 2023, 7:53:03 AM12/15/23
to GAM for Google Workspace
Hi everyone,

I've set up GAM following the instructions on the Github page for installation. However, my OAuth token seems to be expiring every 24hrs for some reason. Every day when I run GAM scripts, I am required to first run `gam oauth create` and only then do GAM commands work properly.

Any ideas as to what misconfiguration could've resulted in this happening?

Thanks in Advance,
AJ

Jay Lee

unread,
Dec 15, 2023, 7:56:23 AM12/15/23
to google-ap...@googlegroups.com
Which version are you running? What error are you getting?

--
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/2d49cfd1-7d0b-43eb-a96b-458b89049150n%40googlegroups.com.

Ross Scroggs

unread,
Dec 15, 2023, 10:03:20 AM12/15/23
to google-ap...@googlegroups.com
See: https://github.com/taers232c/GAMADV-XTD3/wiki/Authorization#introduction

Scroll down to:

Verify whether the super admin you'll be using is in an OU where reauthentication is required.

Ross
----
Ross Scroggs



4 EIS MGT

unread,
Dec 20, 2023, 5:57:56 PM12/20/23
to GAM for Google Workspace
Thanks, that setting was indeed set to require re-authentication. I've changed it for now. Hopefully, the issue never occurs again!
Reply all
Reply to author
Forward
0 new messages