Feuermurmel / youtube-podcast-gateway

Do What The F*ck You Want To Public License
38 stars 5 forks source link

Can’t make it work with OAuth credentials, need an API Key-only method #32

Open avibrazil opened 2 years ago

avibrazil commented 2 years ago

The Google authentication URL displayed by the script makes Google issue an error message like:

Error 400: invalid_request

You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy for keeping apps secure.

I tried many types of credentials from Google Console. I think things have changed and this is why it's not working anymore. You can see this by trying to follow the credentials instruction on the project page, which are completely different nowadays from what you'll find in Google API Console.

Skimming Google documentation, it says you don't need OAuth for an app that will simply browse public YouTube data. OAuth is needed when the app needs to go to places where only the authenticated user is allowed.

You will use an OAuth 2.0 client ID to submit an authorized request that retrieves information about your own YouTube channel.

Is there any way to make it work with an API key only, no OAuth?

Feuermurmel commented 2 years ago

Hey! It humbles me that this project is still being used by people! Sadly, I haven't been using it myself for multiple years now and thus can't investigate any issues or test fixes. If someone else wants to take over the project, I'll gladly transfer it.