Fail to complete "gam oauth create" => 127.0.0.1 refused to connect. Using Chrome Browser.

1,139 views
Skip to first unread message

Jay Vichyavichien

unread,
Mar 14, 2022, 6:20:28 AM3/14/22
to GAM for Google Workspace
Hi guys,

I've been using gam for years already. Just a few days ago, one of my domains wasn't able to run properly so I had to do "gam oauth delete" then "gam oauth create". but it always failed after I authenticated with my credential allowing API access.

sssss.jpg

http://127.0.0.1:8080/?state=ZzpQvZaVFfALYKb5pYnWF65AimbEs2&code=4/0AX4XfWiBTX3aBtjwkK86p1x6utA-x8bdfLbfSuo5RcVeV5IEW3DJhDDy75NsrJ2F1bV31g&scope=email%20profile%20https://www.googleapis.com/auth/userinfo.email%20https://www.googleapis.com/auth/userinfo.profile%20https://www.googleapis.com/auth/calendar%20https://www.googleapis.com/auth/admin.directory.device.chromebrowsers%20https://www.googleapis.com/auth/chrome.management.telemetry.readonly%20https://www.googleapis.com/auth/chrome.management.reports.readonly%20https://www.googleapis.com/auth/chrome.management.policy%20https://www.googleapis.com/auth/admin.chrome.printers%20https://www.googleapis.com/auth/classroom.announcements%20https://www.googleapis.com/auth/classroom.topics%20https://www.googleapis.com/auth/classroom.courseworkmaterials%20https://www.googleapis.com/auth/classroom.coursework.students%20https://www.googleapis.com/auth/classroom.courses%20https://www.googleapis.com/auth/classroom.profile.emails%20https://www.googleapis.com/auth/classroom.profile.photos%20https://www.googleapis.com/auth/classroom.rosters%20https://www.googleapis.com/auth/classroom.guardianlinks.students%20https://www.googleapis.com/auth/cloud-identity.groups%20https://www.googleapis.com/auth/devstorage.read_only%20https://www.googleapis.com/auth/admin.contact.delegation%20https://www.googleapis.com/auth/contacts%20https://www.googleapis.com/auth/admin.datatransfer%20https://www.googleapis.com/auth/admin.directory.device.chromeos%20https://www.googleapis.com/auth/admin.directory.customer%20https://www.googleapis.com/auth/admin.directory.domain%20https://www.googleapis.com/auth/admin.directory.group%20https://www.googleapis.com/auth/admin.directory.device.mobile%20https://www.googleapis.com/auth/admin.directory.orgunit%20https://www.googleapis.com/auth/admin.directory.resource.calendar%20https://www.googleapis.com/auth/admin.directory.rolemanagement%20https://www.googleapis.com/auth/admin.directory.userschema%20https://www.googleapis.com/auth/admin.directory.user.security%20https://www.googleapis.com/auth/admin.directory.user%20https://apps-apis.google.com/a/feeds/compliance/audit/%20https://www.googleapis.com/auth/apps.groups.migration%20https://www.googleapis.com/auth/apps.groups.settings%20https://www.googleapis.com/auth/apps.licensing%20https://www.googleapis.com/auth/directory.readonly%20https://www.googleapis.com/auth/pubsub%20https://www.googleapis.com/auth/admin.reports.audit.readonly%20https://www.googleapis.com/auth/admin.reports.usage.readonly%20https://www.googleapis.com/auth/apps.order%20https://www.googleapis.com/auth/siteverification%20http://sites.google.com/feeds%20https://www.googleapis.com/auth/ediscovery%20openid&authuser=0&hd=nurbsfactor.co.th&prompt=consent



The browser wasn't able to load the page after my authentication was completed. No matter how many times I tried to repeat these steps. Or even copied the original URL from GAM and ran that on different browsers.

This never happened to me before. I always went through these steps without any problem before.
fed.jpg
Please help,
BRs
Jay

Jay Lee

unread,
Mar 14, 2022, 6:23:25 AM3/14/22
to google-ap...@googlegroups.com
The instructions have recently changed due to a change in Google's end.

Am you need to do here is copy the URL of the 127.0.0.1 page that is failing to load and gam can use that.

Jay

--
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/6eea628b-3003-421d-97c0-86d88b75c2afn%40googlegroups.com.

Jay Vichyavichien

unread,
Mar 14, 2022, 6:33:48 AM3/14/22
to GAM for Google Workspace
Thank you for pointing that out. I should have carefully read what gam was asking me to do. I got used to the steps that oAuth authentication went through with no further action needed.
BRs
Jay

Atul Sachan

unread,
Jun 12, 2023, 12:10:29 PM6/12/23
to GAM for Google Workspace
Hi Jay,
I was getting same error and then found this post.
Copied the complete 127.0.0.1 error but it didn't resolve my issues.


Capture12.PNG

Can you please help me?
Reply all
Reply to author
Forward
0 new messages