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

The OAuth client was not found #910

Closed
Mo1967 opened this issue Sep 26, 2024 · 12 comments
Closed

The OAuth client was not found #910

Mo1967 opened this issue Sep 26, 2024 · 12 comments
Labels
bug Something isn't working

Comments

@Mo1967
Copy link

Mo1967 commented Sep 26, 2024

Context

Please provide any relevant information about your setup

  • Add-on Version: v7.1.0+beta.5
  • Kodi Version: Nexus 20.5
  • Kodi GUI Language: EN
  • Operating System: Android
  • Operating System Language: EN

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 Mo1967 added the bug Something isn't working label Sep 26, 2024
@Mo1967
Copy link
Author

Mo1967 commented Sep 27, 2024

Switched back to v7.1.0+beta.4 and 2factor sign-in working. I know, #583 (comment)
but with v7.1.0+beta.4 and earlier no sign-in (2factor) problems.

Screenshot 2024-09-27 041012

@Abbaddon911
Copy link

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:


  • Add-on Version: v7.1.0+beta.5
  • Kodi Version: Omega 21.1
  • Kodi GUI Language: DE
  • Operating System: LibreELEC 12.0.1
  • Operating System Language: DE

@benyamin-codez
Copy link

I can confirm reverting 6d65292 fixed this.

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

MoojMidge added a commit to MoojMidge/plugin.video.youtube that referenced this issue Sep 27, 2024
TODO: Remove hardcoded assumptions about number of tokens
@MoojMidge
Copy link
Collaborator

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
Copy link
Author

Mo1967 commented Sep 27, 2024

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
Copy link
Collaborator

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
Copy link
Collaborator

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 added a commit to MoojMidge/plugin.video.youtube that referenced this issue Sep 28, 2024
TODO: Remove hardcoded assumptions about number of tokens
@MoojMidge
Copy link
Collaborator

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
Copy link
Author

Mo1967 commented Sep 28, 2024

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

@Liqianyu
Copy link

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?

@MoojMidge
Copy link
Collaborator

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?

What was the error?

@Liqianyu
Copy link

Liqianyu commented Oct 2, 2024

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?

What was the error?

Forgot to add that the problem occurs with the latest nightlies version and is on the UWP platform. So wait for me to see if I need to report this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants