News for hackers. Stuff that matters.
Re:Starting January 4 Google will block sign-ins from embedd... by izacus on Thursday November 19, 2020 @06:29PM (#25155631)
I don't know why this is here, because this requirement has been in place for years - e.g. I've hit it at least two years ago where Google OAuth didn't allow builtin old WebKit login anymore.

Instead, you need to call users' default browser (Firefox, Chrome, whatever they have) and it'll return back with the token. Just like OAuth on desktop.

It's much, much safer, because the app can't see or hijack the login process - it doesn't get access to the login form and can't phish you with it.

The utter ignorance in comments here is really depressing, what happened with HN?

Re:Starting January 4 Google will block sign-ins from embedd... by Wowfunhappy on Thursday November 19, 2020 @06:50PM (#25155836)
The writer of this post is the developer of a Webkit-based browser for Linux. Not an email or chat client with an embedded log-in screen—a real, true browser that just so happens to not be named Chrome, Safari, or Firefox. It is the default browser in many Linux distributions.
Re:Starting January 4 Google will block sign-ins from embedd... by light_hue_1 on Thursday November 19, 2020 @10:36PM (#25157098)
Yes. And we are all well past the point now where antitrust legislation should be invoked to break Google up. This is another attempt to use one piece of Google to promote another piece of Google.
Re:Starting January 4 Google will block sign-ins from embedd... by jchw on Thursday November 19, 2020 @06:45PM (#25155787)
For context, the author of this mailing list posting is concerned because Epiphany (the default browser in GNOME) uses GtkWebkit, an embedded Webkit browser engine. Presumably, it would be treated like any other unsupported browser.

(Edit: Additional context: in follow-up replies, they seem to have tested it by sending a header to try the changes early, and as of now it doesn’t appear to break things. I have not read the entire thread; folks should check the replies though.)

Re:Starting January 4 Google will block sign-ins from embedd... by sheerun on Thursday November 19, 2020 @06:56PM (#25155879)
I guess the easiest solution is to use Firefox User Agent. It's obsolete header after all, isn't it?
Re:Starting January 4 Google will block sign-ins from embedd... by Wowfunhappy on Thursday November 19, 2020 @07:25PM (#25156068)
Funny thing about that. From the article:

> Google says: "The browser must identify itself clearly in the User-Agent. The browser must not try to impersonate another browser like Chrome or Firefox." We cannot comply with this because user agent spoofing is required for compatibility with various Google websites.

The author is concerned that Google will become increasingly aggressive about detecting alternate browsers, since it's clearly against the rules and they certainly have the capability.

Re:Starting January 4 Google will block sign-ins from embedd... by freshhawk on Thursday November 19, 2020 @07:52PM (#25156245)
I think a lot of people are forgetting that Google saying "the browser must not try to impersonate another browser" is a fairly funny part in itself.

Everyone remembers the User-Agent for Chrome starts with "Mozilla/5.0" right? It has always impersonated another browser for compatibility reasons. For so long that we take this for granted now.

Re:Starting January 4 Google will block sign-ins from embedd... by chrisweekly on Thursday November 19, 2020 @11:29PM (#25157316)
Yes, this! Here's my favorite send-up of the history of the User-Agent header (hard to believe it was already 12 years ago(!) when it first made me laugh)

https://webaim.org/blog/user-agent-string-history/comment-pa...

Re:Starting January 4 Google will block sign-ins from embedd... by kevin_thibedeau on Thursday November 19, 2020 @09:39PM (#25156860)
Make sure every alternate browser has accessibility specific features. Then smack them down with the ADA.
Re:Starting January 4 Google will block sign-ins from embedd... by Wowfunhappy on Thursday November 19, 2020 @09:52PM (#25156923)
Actually, when I was reading Google's blog post, this rule jumped out to me:

> The browser must not provide automation features. This includes scripts that automate keystrokes or clicks, especially to perform automatic sign-ins.

Automating keystrokes and/or clicks could absolutely be necessary for accessibility.

Re:Starting January 4 Google will block sign-ins from embedd... by nitrogen on Thursday November 19, 2020 @10:16PM (#25157027)
Doesn't Chrome itself provide automation features that are used by integration testing frameworks?
Re:Starting January 4 Google will block sign-ins from embedd... by thayne on Friday November 20, 2020 @12:14AM (#25157502)
yes it does.
Re:Starting January 4 Google will block sign-ins from embedd... by User23 on Thursday November 19, 2020 @11:12PM (#25157238)
Sounds like they're worried about fake ad clicks.
Re:Starting January 4 Google will block sign-ins from embedd... by Semaphor on Thursday November 19, 2020 @11:18PM (#25157268)
What does logging into google have to do with fake adclicks?
Re:Starting January 4 Google will block sign-ins from embedd... by londons_explore on Thursday November 19, 2020 @11:40PM (#25157350)
The ad clickspam system uses the logged in user (or lack of) as a strong signal.
Re:Starting January 4 Google will block sign-ins from embedd... by Semaphor on Thursday November 19, 2020 @11:55PM (#25157424)
Thanks.
Re:Starting January 4 Google will block sign-ins from embedd... by gruez on Thursday November 19, 2020 @06:59PM (#25155907)
...until they introduce browser fingerprinting to prevent such shenanigans. I'm sure they already have the infrastructure/code in place, given that they also run recaptcha.
Re:Starting January 4 Google will block sign-ins from embedd... by kodablah on Thursday November 19, 2020 @06:48PM (#25155823)
My default browser is one I built, and it hasn't worked with Google auth since they disallowed auth from CEF. Not warned, put captchas in front of, etc but disallowed. Yes the ignorance in HN comments can seem depressing, but I decided to respond to this one anyways.
Re:Starting January 4 Google will block sign-ins from embedd... by edoceo on Thursday November 19, 2020 @07:09PM (#25155973)
I'm interested in this browser code you speak of...as a fledgling browser builder.
Re:Starting January 4 Google will block sign-ins from embedd... by kodablah on Thursday November 19, 2020 @08:48PM (#25156566)
https://cretz.github.io/doogie/ - I don't publish prebuilt releases anymore because I don't really work on it anymore, but I build it for myself with the latest CEF every update. There's a bug here and there, but it is by far more productive for me than other browsers.

But user beware, you can't login to any Google account using it since they disallowed it.

Re:Starting January 4 Google will block sign-ins from embedd... by marakv2 on Thursday November 19, 2020 @06:53PM (#25155862)
Yours is very edge case though, and the grandparent is rightly pointing out that the headline is a little misleading and comments are generally negative for a positive aspect.
Re:Starting January 4 Google will block sign-ins from embedd... by Wowfunhappy on Thursday November 19, 2020 @06:59PM (#25155906)
It's a very important edge case. Every new browser, by definition, starts out as a self-compiled project.

If this happened in the 90s, would we ever have had Mozilla? Would tabbed web browsers exist?

Re:Starting January 4 Google will block sign-ins from embedd... by wwweston on Thursday November 19, 2020 @07:17PM (#25156019)
This.

If something can't be accessed by any standards-conforming client, then it isn't the web.

Re:Starting January 4 Google will block sign-ins from embedd... by freshhawk on Thursday November 19, 2020 @07:54PM (#25156260)
If you think impersonating another browser's user-agent string for compatabililty reasons as a full fledged "real" browser is an edge case ...

You should remind yourself what the Chrome user-agent string actually is.

Re:Starting January 4 Google will block sign-ins from embedd... by anonymousab on Thursday November 19, 2020 @07:21PM (#25156045)
>Yours is very edge case though

Not using google chrome is itself an edge case. That's kinda part-and-parcel with monopolistic predatory behaviors.

Re:Starting January 4 Google will block sign-ins from embedd... by cutitout on Thursday November 19, 2020 @07:43PM (#25156196)
One man's edge case is another man's line in the sand.
Re:Starting January 4 Google will block sign-ins from embedd... by deelowe on Thursday November 19, 2020 @08:18PM (#25156412)
Have you checked YOUR user agent? This is rediculous.
Re:Starting January 4 Google will block sign-ins from embedd... by soraminazuki on Thursday November 19, 2020 @07:57PM (#25156284)
This entire post is about legitimate browsers being banned from Google logins. It's really depressing to see quite a few people sidestepping this point entirely and even accusing people of ignorance.
Re:Starting January 4 Google will block sign-ins from embedd... by gruez on Thursday November 19, 2020 @07:14PM (#25155997)
>It's much, much safer, because the app can't see or hijack the login process - it doesn't get access to the login form and can't phish you with it.

Not really. On non-sandboxed platforms (eg. windows or mac) it does nothing because the program already has full access to the operating system. It could very keylog the password as it's being entered into the "real" browser. Regardless of whether it's sandboxed, it could also launch a phoney "real" browser (ie. custom build of firefox/chrome that has keylogging logic built into the browser itself), and keylog using that. I'm not sure how that can be detected.

[dead]
Re:Starting January 4 Google will block sign-ins from embedd... by Wowfunhappy on Thursday November 19, 2020 @07:49PM (#25156232)
I think you're talking about different things. On Windows and most Linux variations, the program could install a keylogger and monitor what you type into a web browser. The browser may be sandboxed, but the malicious program you're logging into is not.

macOS might be a little more secure post-Catalina; the user would have to grant additional permissions to the malicious app. Of course, a lot of apps legitimately need those permissions, so it wouldn't be so odd to request them.

Re:Starting January 4 Google will block sign-ins from embedd... by 1vuio0pswjnm7 on Thursday November 19, 2020 @10:20PM (#25157041)
"It's much, much safer, because the app can't see orhjack the process - it doesn't get access to the login form and can't phish you with it."

What if you are the author of the "app" and its sole user?

Re:Starting January 4 Google will block sign-ins from embedd... by yipbub on Friday November 20, 2020 @12:54AM (#25157691)
> whatever they have

That's what is being threatened, other browsers. Google is throwing its weight around to try and enforce browser standards that are bad for a lot of people. Just like with amp.

> It's much, much safer, because the app can't see or hijack the login process - it doesn't get access to the login form and can't phish you with it.

Apps that try this shouldn't be running on your computer. This is not much safer, it's negligibly safer with a significant cost.

> The utter ignorance in comments here is really depressing, what happened with HN?

The irony.

Re:Starting January 4 Google will block sign-ins from embedd... by ashtonkem on Friday November 20, 2020 @12:56AM (#25157697)
> That's what is being threatened, other browsers.

Is it? Oauth regularly opens Safari on mobile and Firefox on OS X for me; it's not clear that this move itself is forcing users to chrome per se.

If they're blocking non-popular browsers, that's obviously a problem. But if they'll let users open Firefox or Safari, then it seems fairly obvious to me that this is a mistake more than a sinister plan to drive Chrome adoption forward. After all, if they were trying to drive Chrome forward why would they push me more towards Safari?

[dead]
[dead]
Re:Starting January 4 Google will block sign-ins from embedd... by jeppesen-io on Thursday November 19, 2020 @10:48PM (#25157148)
I'm not sure what you're implying. Can you elaborate?
Re:Starting January 4 Google will block sign-ins from embedd... by octoberfranklin on Friday November 20, 2020 @01:22AM (#25157782)
Well the comment and its parent both got deleted; don't think you're allowed to find the answer you're looking for here.
Re:Starting January 4 Google will block sign-ins from embedd... by londons_explore on Thursday November 19, 2020 @11:45PM (#25157378)
Many countries and large organizations pay teams of people to participate on online discussions like this and steer conversation in a favourable direction. Each operator works under many different usernames.

It makes sense really - an operator can maybe write 60 posts an hour, which means it only costs a few hundred bucks a day to have 10% mindshare on all of HN.