-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Error when attempting to log in with Google #754
Comments
The error persists. |
Duplicate of #755 |
this is not a duplicate, both errors are different but are linked to google it seems. |
I was curious so I tried to see if This thread mentions that adding cookies to the request manually works for them. I haven't tried this yet. |
I looked at this a bit more and I suspect it has to do with the arguments to the I think that fixing this issue ultimately comes down to cracking Google's anti-spam protection, which I'm guessing was specifically designed not to be cracked by anyone. Alternatively there could be an input box in invidious to paste in a set of cookies from a separate login to the official YouTube frontend, if nothing else. |
Yes, I've attempted to login to both youtube.com and accounts.google.com, downloading cookies files from both, merging them and then using I attempted to start a conversation on this in issue ytdl-org/youtube-dl#23813 and couldn't find any open issues tracking this. This is the one! |
I opened an issue at ytdl-org/youtube-dl#23860 referencing all the similar issues I could find but they closed it without giving any explanation. They don't seem to be interested in addressing it. |
Any news on this issue? |
@rootedetc I think the best option is to add a new field to the Google login form in Invidious for entering a session cookie, logging in with YouTube through the official website, then providing the user with manual steps of opening the brower's developer tools and copying/pasting the cookie from the official sign-in there. Then instead of the code using the cookie that Google provides for any requests to YouTube, it uses the one pasted in. |
Thanks @Ruin0x11 for that detail. That makes sense as to why ytdl-org/youtube-dl#21313 (comment) is no longer working. Google is obviously making it harder to use authenticated sessions with youtube-dl and will likely only increase the frustrations. I would think a dedicated browser (or at least browser profile) would be the ideal for this with probably a youtube-dl switch that chooses to utilise the external browser for google (and perhaps other future systems) auth or not. I see they have removed other issues on this or at least blocked commenting. |
Another option might be a greasemonkey script or similar, as a workaround. If the cookie isn't HTTP-only, which I should imagine given how much JS will be working in the background, it might be possible to display it in an alert for the user to copy into the invidious form. |
i dont even press the button it just says that when I go in the websitr |
Is it helpful if I say "I have this issue too"? |
"I have this issue too" |
Same here, different accounts. One with normal google domain and other one with custom domains in main instance. |
I noticed the same issue for me (using v2020.11.21.1), when I tried accessing my private playlists. I wondered, if you could really copy a browser session that easily, while cookies like "SIDCC" and "__Secure-3PSIDCC" change with each request and probably build a request chain. I retested with the latest update (v2020.12.2) and the login problem still exist, but I'm able to access my private playlists now fully with all continuations and over multiple youtube-dl instances, while providing a cookie-file. For that, I logged freshly into YouTube using a different browser (for me: Chrome instead of Firefox), then halted javascript execution and exported only the youtube-cookies to a file. Then I closed Chrome. I came across another tool, which offers to download the watchlater-playlist for you. I'd like to get a feedback, if the google-login is currently broken for everyone or if it depends on individual factors. |
This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked. |
This comment has been minimized.
This comment has been minimized.
This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked. |
Official instance. Brave browser. Attempted to log in 3 times. The same error with cross-site cookies enabled.
The text was updated successfully, but these errors were encountered: