Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot sign in to google photos: application or browser is not secure #18

Open
mpl opened this issue May 18, 2020 · 7 comments
Open

Cannot sign in to google photos: application or browser is not secure #18

mpl opened this issue May 18, 2020 · 7 comments
Assignees

Comments

@mpl
Copy link
Collaborator

mpl commented May 18, 2020

I'm getting an error during login to the google account, stating that the app is not secured.
I'm hoping updating chromedp might help with that. And we'll have to do it anyway to keep up with chrome changes.
However, we should not update to the latest version yet because:
chromedp/chromedp#627
And indeed I did hit that problem with 81.0.4044.138 here.

@mpl mpl self-assigned this May 18, 2020
@mpl mpl changed the title update github.com/chromedp/chromedp Cannot sign in to google photos: application or browser is not secured May 23, 2020
@mpl
Copy link
Collaborator Author

mpl commented May 23, 2020

Problem persists with:

github.com/chromedp/cdproto v0.0.0-20200209033844-7e00b02ea7d2
github.com/chromedp/chromedp v0.5.4-0.20200417165948-9fff3ea3e94b

@mpl mpl changed the title Cannot sign in to google photos: application or browser is not secured Cannot sign in to google photos: application or browser is not secure May 23, 2020
@mpl
Copy link
Collaborator Author

mpl commented May 23, 2020

Setting up an App Password (https://support.google.com/accounts/answer/185833) did not help either. And in hindsight, not surprising, since I get the error as soon as I enter the username, even before entering the password.

@mpl
Copy link
Collaborator Author

mpl commented May 23, 2020

Using this trick: #1 (comment) worked for me.
We should automate "stealing cookies" from the currently running chrome session. But until we figure out which part to steal exactly, I think I'll just add a flag to "initialize" a profile dir like the trick above does, as a quick fix for anyone who encounters this problem.

@mpl
Copy link
Collaborator Author

mpl commented May 23, 2020

fwiw, just copying Default/Cookies into $TMPDIR/gphotos-cdp/Default/Cookies does not seem to be enough.

@mpl
Copy link
Collaborator Author

mpl commented Jun 26, 2020

I have an up to date branch that was doing the trick a couple of weeks ago, but which is now obsolete for some reason. I'm giving up for now, since Google seems to have fixed some things on their end and I can now sign in again directly from chromedp, and I can therefore go back to fixing other bugs.

@vibhoothi
Copy link

I am having the same issue,

Couldn't sign you in
This browser or app may not be secure. Learn more
Try using a different browser. If you’re already using a supported browser, you can refresh your screen and try again to sign in.

I am on 53afb72

@mpl
Copy link
Collaborator Author

mpl commented Nov 17, 2020

@vibhoothiiaanand have you tried #1 (comment) ?

@nomeata nomeata mentioned this issue Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants