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.

After switching to the vscode-js-debug preview, Google warns that "This browser or app may not be secure."

See original GitHub issue

Describe the bug Upon clearing all browser data in my Chrome debugger instance, Google began complaining with a “Couldn’t sign you in. This browser or app may not be secure” error as seen here: https://pbs.twimg.com/media/EsqvRa8XMAE4OCv?format=png&name=small

This error appeared any time I attempted to login to ANY Google service within the launched Chrome instance.

Once I turned off the new built-in preview debugger and reverted to the long-used Chrome debugger, the Google warnings went away and was able to sign in again. My launch.json Chrome entry uses a separate profile: { "type": "chrome", "request": "launch", "name": "Launch Chrome against localhost", "url": "http://localhost:3333", "webRoot": "${workspaceFolder}", "userDataDir": "${workspaceFolder}/out/chrome", "skipFiles": [ "${workspaceFolder}/node_modules/**/*.js", "<node_internals>/**/*.js" ], },

To Reproduce Steps to reproduce the behavior: 0. Ensure built-in debugger preview is disabled

  1. Set up a separate Chrome profile using the old Chrome debugger VS Code plugin
  2. Ensure you are signed in to Google
  3. Enable the debugger preview in VS Code
  4. Launch debugger with preview debugger plugin
  5. Clear all browser data and ensure Chrome has no ties to Google account
  6. Close and re-launch debugger
  7. Attempt to sign into a Google service
  8. Google warns that they “Couldn’t sign you in” because “This browser or app may not be secure.”

VS Code Version: 1.51.1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
connor4312commented, Feb 2, 2021

After some experimentation, it seems this is caused by using --remote-debugging-pipe in the new debugger. Ironically this is more secure than the previous --remote-debugging-port, but causes the ‘security’ check on google login to fail. Not sure how they’re detecting that, since that should be invisible unless they have some special backdoor for google to detect debugging…

You can have the debugger use the old port style by adding "port": 12345 (any open port) to your launch config. Let me know if that works for you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"This browser or app may not be secure" error when trying to ...
The problem must lie with the particular account because I can log into the same app just fine with other Google accounts. The...
Read more >
[FIXED] This browser or app may not be secure. Try ... - YouTube
This video explains how to fix the following error:Couldn't sign you inThis browser or app may not be secure.
Read more >
Couldn't Sign you in, the Browser or App May Not Be Secure ...
Workaround: There are several workarounds to allow users to sign in with a Google account: Turn on less-secure app access in your Google...
Read more >
Seeing a “Not Secure” Warning in Chrome? Here's Why and ...
What does it mean when a website or your connection is not secure? Google Chrome browser, version 68, introduced a “Not Secure” warning...
Read more >
"Browser or app may not be secure. Try using a different ...
Incomplete answer: This problem isn't specific to flutter. It happens whenever you try to sign in to Google in a Chrome instance that...
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 Reddit Thread

No results found

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