Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

Unable to login - This browser or app may not be secure. #52

Open
MaverickTN opened this issue Dec 30, 2021 · 7 comments
Open

Unable to login - This browser or app may not be secure. #52

MaverickTN opened this issue Dec 30, 2021 · 7 comments
Labels
help wanted Extra attention is needed

Comments

@MaverickTN
Copy link

Platform

google-chat-electron 2.13.0
Electron 16.0.1
win32 10.0.22523
Locale: en-US

image

@ankurk91
Copy link
Owner

ankurk91 commented Dec 31, 2021

@MaverickTN

Hi, this is random issue, and it is not just Windows, it is happening on all platforms,

There is no issue with organizational (enterprise) accounts, it is only happening with personal accounts.

I have already applied a patch to fix this issue, i have changed the UserAgent of the app but Google still detecting the app as less secure.

I am trying to find a fix, i am also trying to download and install similar electron apps to check how they have handled such issue.

For now, can you try to quit from app and launch it again, and try to login again? This workaround worked for me.

PS
Many other similar app having same issue
TheGoddessInari/hamsket#290
ytmdesktop/ytmdesktop#866
timche/gmail-desktop#174
https://github.com/meetfranz/franz/issues/1720

@ankurk91 ankurk91 added the help wanted Extra attention is needed label Dec 31, 2021
@ankurk91 ankurk91 changed the title Unable to login Unable to login - This browser or app may not be secure. Dec 31, 2021
@MaverickTN
Copy link
Author

I tried a quit with relaunch and even a reboot. I have not successfully logged in with it since install.

I have tried using a hangouts client called YakYak, and it logs in just fine, perhaps you can get some inspiration from it.

I'm running 1.5.12-beta with no issues currently.

Best wishes and a Happy New Year!

https://github.com/yakyak/yakyak

@reureya
Copy link

reureya commented Feb 2, 2022

I think it probably has to do with Google's attempts to block MitM attacks from embedded browser frameworks.

Explanatory blog post from Google

Google's "Guidance to developers affected by our effort to block less secure browsers and applications"

@SudoVanilla
Copy link
Contributor

SudoVanilla commented Feb 17, 2022

I've easily fixed this issue by force changing the useragent.
Hmm, expect PR soon and I'll test this on Windows(VM), macOS(VM), and Linux.

@kbzowski
Copy link

kbzowski commented Aug 1, 2022

@ankurk91 Any news? The problem persists in 2.17.0

@ankurk91
Copy link
Owner

ankurk91 commented Aug 1, 2022

This issue already has been tagged as "help wanted". There is no fix available

@kaziu687
Copy link

Disabling "external links guard" resolved issue for me

image

Repository owner locked and limited conversation to collaborators Aug 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants