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

[Feature request] Add option to sign in to Google account (as workaround for "Please sign in" blocking playback) #4977

Open
retrocaster opened this issue Oct 3, 2024 · 5 comments · May be fixed by #4985
Labels
enhancement Improvement of an existing feature

Comments

@retrocaster
Copy link

retrocaster commented Oct 3, 2024

I would like to suggest adding an optional ability to sign in to a Google account, purely as a way to get around the "Please sign in" errors which are now occurring for every video I try to play despite hosting my own private instance on a residential ip address.

I realize this goes against the privacy goal of Invidious, but that's not why I use Invidious. I use Invidious because it allows me to play ad free Youtube on my Apple TV via Yattee. I don't care if Google is tracking what I watch and I suspect there are other users that feel the same.

Is your feature request related to a problem? Please describe.
Countless bugs have been filed on the issue of Youtube blocking playback. For example, #4975

Describe the solution you'd like
Add an optional way to log into a Google account using username/password

Thanks for any consideration!

@retrocaster retrocaster added the feature-request Request of a new feature label Oct 3, 2024
@SamantazFox
Copy link
Member

We removed the "login with Google" feature in #3893 because their 2FA process and account protection is way too complicated for us to follow.

However, you can connect to the official website, then copy your sessions cookies and put them in your instance's config.yml:

##
## Additional cookies to be sent when requesting the youtube API.
##
## Accepted values: a string in the format "name1=value1; name2=value2..."
## Default: <none>
##
#cookies:

@SamantazFox SamantazFox added wontfix This will not be worked on exempt-stale Exempt the issue from staling and removed feature-request Request of a new feature labels Oct 4, 2024
@unixfox
Copy link
Member

unixfox commented Oct 4, 2024

However, you can connect to the official website, then copy your sessions cookies and put them in your instance's config.yml:

There are more things to do in order to have this working. People explained what in the private matrix room.

We removed the "login with Google" feature in #3893 because their 2FA process and account protection is way too complicated for us to follow.

Youtube oauth2 makes this quite easy, in fact.

@retrocaster

This comment was marked as off-topic.

@bbsixzz

This comment has been minimized.

@unixfox unixfox added enhancement Improvement of an existing feature and removed wontfix This will not be worked on exempt-stale Exempt the issue from staling labels Oct 9, 2024
@unixfox
Copy link
Member

unixfox commented Oct 9, 2024

This will be considered as an option in a future change. For now there are unofficial ways getting shared on matrix to get this working, but we have no plans to share them here since this is not the correct way to logging into a google account. Doing it the way being shared on matrix can result in the logging not working after a few days and requiring to logging every week for example.

Anyway we want to make it clear, this is not the ultimate solution. People on yt-dlp for example have said that they were getting their google account banned pretty quickly by using it on yt-dlp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of an existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants