question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Login to Google account on Google Cloud Platform - denied

See original GitHub issue

Hello, I’m trying to log into a Google account with puppeteer for automation purpose.

Everything works great when I try locally on my Mac. However, on Google Cloud Platform, I get the following message from Google:

login_getaround_2019_07_17__03_21_08_pm__277__22__a5619f0149dda7174e9e667285671e11_1 (1)

I tried both standard environment and flexible environment with Docker — it’s the same.

I am pretty clueless, does anyone have any ideas?

The weird thing is that on my Mac everything works, regardless of Chromium, headless mode etc. (I do not try to fool Google with any techniques). What could be the reason for this?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:29 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
srmrcocommented, Jul 22, 2019

I also see this when trying to login to Gmail

2reactions
fjaegercommented, Apr 8, 2020

We worked around this issue by using a different site to log into a Google account via OAuth2. For example, you could use https://stackoverflow.com/users/login . Google does not seem to have such strict checks during their OAuth2 process.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot deny policies | IAM Documentation - Google Cloud
This page explains how to resolve "permission denied" access issues in Identity and Access Management (IAM) if you use deny policies.
Read more >
Login access denied by Google
Log into a G Suite account that cannot get access to AppSheet ( logout of all other google account ). Go to https://myaccount.google.com/security...
Read more >
Authorization Errors | Device Access - Google Developers
If you've set up your OAuth consent screen in GCP and the User type is External, you will get an "Access denied" error...
Read more >
Google Cloud Compute Engine OS Login permission denied ...
It is documented in the article "Configuring OS Login roles on user accounts" If your VM instance uses a service account, you need...
Read more >
Access denied for GCP Service Account - Datadog Docs
Inspect the GCP Service Account ( @usr.id:*.iam.gserviceaccount.com ) for errors ( @data.protoPayload.status.code:7 ) caused by denied permissions ( @ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found