GAM-team / GAM

command line management for Google Workspace
https://github.com/GAM-team/GAM/wiki
Apache License 2.0
3.5k stars 470 forks source link

Token has been expired or revoked. #1666

Open mtwillis1965 opened 11 months ago

mtwillis1965 commented 11 months ago

If you need help with GAM, please do not file an issue here, it will be closed and ignored.

Please post your question to the GAM discussion group where other admins are ready and willing to help:

https://groups.google.com/g/google-apps-manager

mtwillis1965 commented 11 months ago

When running a GAM command - gam info user mtwillis@philasd.org I get the followin error - Authentication Token Error - ('invalid_grant: Token has been expired or revoked.', {'error': 'invalid_grant', 'error_description': 'Token has been expired or revoked.'})

This worked up until 10/23/23 after Google made the changes that we have to trust client-ids and apps etc.

I have trusted my client-id for this project. how do I make it work with having to create a new project

taers232c commented 11 months ago

See: https://github.com/taers232c/GAMADV-XTD3/wiki/Authorization#introduction 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

Follow the directions and then do: gam oauth delete gam oauth create

Ross

Ross Scroggs @.***

On Oct 27, 2023, at 6:53 AM, mtwillis1965 @.***> wrote:

When running a GAM command - gam info user @. @.> I get the followin error - Authentication Token Error - ('invalid_grant: Token has been expired or revoked.', {'error': 'invalid_grant', 'error_description': 'Token has been expired or revoked.'})

This worked up until 10/23/23 after Google made the changes that we have to trust client-ids and apps etc.

I have trusted my client-id for this project. how do I make it work with having to create a new project

— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/1666#issuecomment-1782958894, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL3D2B2BSEDLHQ5S3PTYBO4F7AVCNFSM6AAAAAA6S3SBHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBSHE2TQOBZGQ. You are receiving this because you are subscribed to this thread.

mtwillis1965 commented 11 months ago

Ross,

Thanks so much that worked

Thanks again

Mark Willis, PMP Senior IT Project Manager School District of Philadelphia (215) 400-5031

https://api.accredible.com/v1/frontend/credential_website_embed_image/badge/36561610?key=522b60e90633bda83a700ed65361e07eccbdb2272e18993024bfcdfd435ecfd2

*Click *here https://philasd.co1.qualtrics.com/jfe/form/SV_6SiweqqjqE7deT3?Source=EMAILIT&Office=Office%20of%20Information%20Technology%20and%20Data%20Management https://philasd.co1.qualtrics.com/jfe/form/SV_6SiweqqjqE7deT3?Source=EMAILIT&Office=Office%20of%20Information%20Technology%20and%20Data%20Managementto

tell us how we are doing!

Any Questions? Please call the I.T. Help Desk at 215-400-5555 or email at @. @.>.*

Visit philasd.org/technology http://philasd.org/technology for more information.

Visit sishelp.philasd.org http://sishelp.philasd.org/ for SIS training resources.

On Fri, Oct 27, 2023 at 10:16 AM Ross Scroggs @.***> wrote:

See: https://github.com/taers232c/GAMADV-XTD3/wiki/Authorization#introduction < 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

Follow the directions and then do: gam oauth delete gam oauth create

Ross

Ross Scroggs @.***

On Oct 27, 2023, at 6:53 AM, mtwillis1965 @.***> wrote:

When running a GAM command - gam info user @. @.> I get the followin error - Authentication Token Error - ('invalid_grant: Token has been expired or revoked.', {'error': 'invalid_grant', 'error_description': 'Token has been expired or revoked.'})

This worked up until 10/23/23 after Google made the changes that we have to trust client-ids and apps etc.

I have trusted my client-id for this project. how do I make it work with having to create a new project

— Reply to this email directly, view it on GitHub < https://github.com/GAM-team/GAM/issues/1666#issuecomment-1782958894>, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACCTYL3D2B2BSEDLHQ5S3PTYBO4F7AVCNFSM6AAAAAA6S3SBHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBSHE2TQOBZGQ>.

You are receiving this because you are subscribed to this thread.

— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/1666#issuecomment-1782994937, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW2TKLUOMR5SU4QPPX5NQNLYBO65VAVCNFSM6AAAAAA6S3SBHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBSHE4TIOJTG4 . You are receiving this because you authored the thread.Message ID: @.***>