anxdpanic / plugin.video.youtube

Watch your favorite YouTube content on Kodi
https://ytaddon.panicked.xyz/forum
679 stars 111 forks source link

The OAuth client was not found #910

Open Mo1967 opened 4 days ago

Mo1967 commented 4 days ago

Context

Please provide any relevant information about your setup


Expected Behavior

Sign-in with 2factor Auth.


Current Behavior

Error (see LOG)


Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Open YouTube Addon
  2. Check if you sign-in with your account or sign-out ?!

Log

https://paste.kodi.tv/ulefokidak.kodi


Additional Information

Didn't sign-out manually


Mo1967 commented 3 days ago

Switched back to v7.1.0+beta.4 and 2factor sign-in working. I know, https://github.com/anxdpanic/plugin.video.youtube/issues/583#issuecomment-1953173154 but with v7.1.0+beta.4 and earlier no sign-in (2factor) problems.

Screenshot 2024-09-27 041012

Abbaddon911 commented 3 days ago

I'm getting the exact same issue, even tried with freshly created API Key and OAuth Client (TV and limited input setting), but the error is still present.

Going back down to beta4, I'm able to log in again.

System and Addon version with the issue:


benyamin-codez commented 3 days ago

I can confirm reverting https://github.com/anxdpanic/plugin.video.youtube/commit/6d652927047df05d7022a6bde6a10cfbe1acfd3c fixed this.

Removing the "extra" commas was not sufficient. It needed the values under youtube-tv added back in...

MoojMidge commented 3 days ago

Well that was silly...

Should be fixed if you can test and confirm https://github.com/MoojMidge/plugin.video.youtube/archive/refs/heads/master.zip

Mo1967 commented 3 days ago

Well that was silly...

Should be fixed if you can test and confirm https://github.com/MoojMidge/plugin.video.youtube/archive/refs/heads/master.zip

Works out of the box with 1Factor (!) Auth., Thank you!

MoojMidge commented 3 days ago

It's not actually multi factor authentication, but different authorisations for different projects. However now the old TV app authorisation doesn't seem to work and also doesn't seem to be required, so moving forward will probably only need to login once to the project you have individually created when creating your own API key and OAuth credentials.

MoojMidge commented 3 days ago

Don't think that will fully fix the issue, missed a couple of checks for the refresh tokens, so you might get signed out automatically after some time. Will have a look again later in the day.

MoojMidge commented 2 days ago

Can you retest https://github.com/MoojMidge/plugin.video.youtube/archive/refs/heads/master.zip

I think it should be fixed but no opportunity to test it myself.

Mo1967 commented 2 days ago

Confirm it, v7.1.0 working for both user on my device. Tested sign-out and sign-in again with 1factor auth.

Liqianyu commented 1 day ago

I should have checked the issues page sooner 😶 I checked the API key input multiple times and recreated OAuth. all to no avail. It wasn't until using the latest beta that the issue was fixed. It's also worth mentioning that beta.5 would report an error when opening it, it wouldn't open, you had to turn off Enable Setup Wizard in settings to open it, and you couldn't open Setup Wizard after that either (it would report an error), has this been fixed as well?