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

Stuck at "Something went Wrong" screen on google after trying to get the verification code on GAM installation #1675

Closed Pajo33 closed 8 months ago

Pajo33 commented 8 months ago

Hello,

So I'm new to GAM and I have started the setup today. I got the part where I have to select all the scopes and then Continue to the authorization.

Then I get this message:

Go to the following link in a browser on this computer or on another computer:

https://gam-shortn.appspot.com/acc9gt

If you use a browser on another computer, you will get a browser error that the site can't be reached AFTER you click the Allow button, paste "Unable to connect" URL from other computer (only URL data up to &scope required):

Enter verification code or paste "Unable to connect" URL from other computer (only URL data up to &scope required): Unable to connect

ERROR: (invalid_grant) Malformed auth code. Enter verification code or paste "Unable to connect" URL from other computer (only URL data up to &scope required):

After i go the following link and sign in with my organization email, I have to Allow all the Privacy settings and the rest for GAM but when i click Allow i get "Sorry, something went wrong here" on Google Workspace and it just redirects me to my Google account.

I would appreciate some help here if it's possible.

Thanks in advance!

taers232c commented 8 months ago

Don't select all scopes, you must have at least one scope unselected.

Ross

Ross Scroggs @.***

On Jan 17, 2024, at 4:44 AM, Pajo33 @.***> wrote:

Hello,

So I'm new to GAM and I have started the setup today. I got the part where I have to select all the scopes and then Continue to the authorization.

Then I get this message:

Go to the following link in a browser on this computer or on another computer:

https://gam-shortn.appspot.com/acc9gt If you use a browser on another computer, you will get a browser error that the site can't be reached AFTER you click the Allow button, paste "Unable to connect" URL from other computer (only URL data up to &scope required):

Enter verification code or paste "Unable to connect" URL from other computer (only URL data up to &scope required): Unable to connect

ERROR: (invalid_grant) Malformed auth code. Enter verification code or paste "Unable to connect" URL from other computer (only URL data up to &scope required):

After i go the following link and sign in with my organization email, I have to Allow all the Privacy settings and the rest for GAM but when i click Allow i get "Sorry, something went wrong here" on Google Workspace and it just redirects me to my Google account.

I would appreciate some help here if it's possible.

Thanks in advance!

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

Pajo33 commented 8 months ago

Great! That helped, can you also tell me about gam user "my-email" check serviceaccount 34/34 scopes keep failing and I authorized them in the Admin Console. I read that sometimes you need to wait for an hour for the authorization to work, is that true?

taers232c commented 8 months ago

Yes.Keep trying.

Ross

On Wed, Jan 17, 2024 at 7:33 AM Pajo33 @.***> wrote:

Great! That helped, can you also tell me about gam user "my-email" check serviceaccount 34/34 scopes keep failing and I authorized them in the Admin Console. I read that sometimes you need to wait for an hour for the authorization to work, is that true?

— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/1675#issuecomment-1896058635, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL6A3BMXFVUXHWKHO5LYO7VMRAVCNFSM6AAAAABB6PIGQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJWGA2TQNRTGU . You are receiving this because you commented.Message ID: @.***>

-- Ross Scroggs @.***

Pajo33 commented 8 months ago

I finally managed to do it, thanks so much for the help!