-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Oauth #353
Comments
In order to log in, replace I attached below some screenshots for guidance: |
Scope should be "YouTube Data API" -> "https://www.googleapis.com/auth/youtube.force-ssl". See also: https://developers.google.com/youtube/v3/guides/auth/installed-apps |
It looks like you sent the app for review. Undo that if you did. See also: https://www.videoconverterfactory.com/kodi/youtube-api-key.html If everything is OK, you should be able to log in, as illustrated in the following screenshots: |
yes got it to work |
guys can you help me? i did everything just like you did, and it worked, but there is just one problem. i can't click the link to get the authentication code. when i click it, nothing happens |
sadly that doesn't work. i have tried it using all gtk versions. could it be because of wayland? |
Not sure, but double-check the If everything looks alright, then you can try to log-in from the CLI version: youtube-viewer --login |
Can't locate object method "history_list" via package "Term::ReadLine::Stub" at /usr/bin/vendor_perl/youtube-viewer line 655. |
It seems that you don't have the Perl module Either install Term::ReadLine::Gnu, or set |
thanks man it worked |
I think YouTube/Google has recently made some changes, the above tips aren't working for me now. It is asking for Developer Contact, domain name etc., and also forces one to apply for 'project review/verification', thereby making it complicated. This has happened the moment I enabled this scope: I request @trizen to look into this issue and give the solution. Thanks. |
Potential solution to: #353 (comment) and #415 (untested) More info on this issue: https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html https://developers.google.com/identity/protocols/oauth2/native-app Alternatively, we may try "TV and Limited-Input Device Applications": https://developers.google.com/identity/protocols/oauth2/limited-input-device However, this does not support posting comments.
…". (fixes #415 and #353 (comment)) The new mechanism uses the following scope: https://www.googleapis.com/auth/youtube This scope is a bit more limitted than the previous supported scope (`https://www.googleapis.com/auth/youtube.force-ssl`). It still allows liking and dislking videos, adding videos to favorites, viewing your playlists, etc. One important difference is that this scope does NOT support posting comments. For more info, see: https://developers.google.com/identity/protocols/oauth2/limited-input-device Users that are already logged in, there is no need to logout. Everything will work as before. Also updated the README with updated info for logging in: https://github.com/trizen/youtube-viewer/#logging-in The OAuth client ID now needs to be of type "TV and Limited Input devices".
Just wanted to mention, https://developers.google.com/identity/protocols/oauth2/limited-input-device#creatingcred worked for me |
I installed the app on manjaro linux
i got the api like the steps but i am unable to get the auth client id and client secret
can u plz help?
also on the app there is a login to youtube oauth link but it doesn't open or forward to browser for login
help needed!! :(
The text was updated successfully, but these errors were encountered: