News for hackers. Stuff that matters.
Re:Invidious: an alternative front-end to YouTube by fredley on Friday November 15, 2019 @08:25AM (#21544539)
'Log in with Google' asks me for my google account and password. Wat. No.

You should never, ever be asking people for this information, even if you're transparently passing it upstream. This is a tier-one no-no.

Re:Invidious: an alternative front-end to YouTube by omarroth on Friday November 15, 2019 @10:04AM (#21545348)
I agree. Unfortunately OAuth is impractical for this project, as it requires registering your application with Google.

Instead I've done my best to make clear how it works[0][1] and what is stored[2].

As mentioned in a sibling comment Google does not have a good track record with similar projects. AFAIK the only project that provides similar functionality is youtube-dl[3], which works the same way.

Important to note is that this functionality is optional; you do not need to log in with Google to store subscriptions or preferences. The main benefit currently is that it will automatically sync subscriptions with YouTube, otherwise I would recommend creating a new account on Invidious and then importing subscriptions from YouTube.

0. https://www.reddit.com/r/SideProject/comments/8wvazc/invidou...

1. https://github.com/omarroth/invidious/blob/8af87f1/src/invid...

2. https://invidio.us/privacy

3. https://github.com/ytdl-org/youtube-dl/blob/76e510b/youtube_...

Re:Invidious: an alternative front-end to YouTube by fredley on Friday November 15, 2019 @11:11AM (#21545993)
There's no way for me to verify that what you're running is the same as what you have in GitHub. And for anyone else running it. You should disable this feature.
Re:Invidious: an alternative front-end to YouTube by MrGilbert on Friday November 15, 2019 @11:54AM (#21546406)
Why should he? It‘s your choice to use it or not. If you feel uncomfortable, go and selfhost it. Or don‘t use it at all. But there is no reasoning to prohibit it for everyone.
Re:Invidious: an alternative front-end to YouTube by ridaj on Friday November 15, 2019 @03:17PM (#21548321)
Altruistically, it trains users that it is ok, which it isn't.

Selfishly, the author really does not want to be storing or even handling these kinds of credentials. It makes them a very juicy target for all kinds of bad actors. Imagine finding yourself in the middle of some kind of account hijacking nightmare that you have unwittingly enabled, having to deal with people who trusted you and have lost access to their account or have lost money because people accessed data in their account that allows for id theft.

Basically people should treat passwords (even other people's passwords) as radioactive material and not attempt to handle them unless they really know what they're doing.

Re:Invidious: an alternative front-end to YouTube by ajayyy on Friday November 15, 2019 @10:07PM (#21550732)
Re:Invidious: an alternative front-end to YouTube by ridaj on Sunday November 17, 2019 @06:57PM (#21560905)
The privacy policy of not storing passwords is nice but what about when they get hacked and the site starts uploading passwords to some attacker's website?
Re:Invidious: an alternative front-end to YouTube by morpheuskafka on Friday November 15, 2019 @08:56AM (#21544762)
I am guessing that this service falls squarely into "prohibited by Google's AUP" and thus they don't have much of a choice. Either that or, to prevent clones like this one, Google has deliberately not exposed an API to do whatever this app needs to do.
Re:Invidious: an alternative front-end to YouTube by imglorp on Friday November 15, 2019 @09:09AM (#21544876)
Yep. Hooktube's been through this already.

https://hooktube.com/changelog

Re:Invidious: an alternative front-end to YouTube by monkeynotes on Friday November 15, 2019 @08:48AM (#21544698)
Giving a fake username and password results in

> Expected Array for #[]?(index : Int), not Int64

> Traceback:

> Getting lookup...done, returned 200.

> Getting challenge...done, returned 400.

So, yeah, nope. Why not use Google's SSO to connect accounts?

Re:Invidious: an alternative front-end to YouTube by ajayyy on Friday November 15, 2019 @08:59AM (#21544784)
Google has a history of disabling oath for services like these. There is also an invidious account system you can use to avoid using your Google account.