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

Cannot login by token if Invidious server requires HTTP Basic Auth #598

Open
kkwpsi opened this issue Sep 18, 2024 · 3 comments
Open

Cannot login by token if Invidious server requires HTTP Basic Auth #598

kkwpsi opened this issue Sep 18, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@kkwpsi
Copy link

kkwpsi commented Sep 18, 2024

Describe the bug
Option to login by token is unavailable if HTTP Basic Auth settings is provided. Only login method "by cookie" is available.

To Reproduce
Steps to reproduce the behavior:

  1. Add new server with HTTP Basic Authetication

Expected behavior
"Login with token" method should be available even if the Invidious server requires HTTP Basic authentication.

Screenshots
none

Smartphone (please complete the following information):

  • Device: Samsung S23
  • OS: Android 14
  • Version [e.g. 1.21.2]

Additional context
The error is somewhat related to this issue: iv-org/invidious#4200. I ran into this problem when logging in via cookie. In this case I couldn't see the channel page. After temporarily disabling HTTP Auth and logging in via token, the error with reading the channel page stopped appearing.

@kkwpsi kkwpsi added the bug Something isn't working label Sep 18, 2024
@lamarios
Copy link
Owner

lamarios commented Sep 18, 2024

It's not possible to have both. Both are the same header with different values so one would overwrite the other.

@kkwpsi
Copy link
Author

kkwpsi commented Sep 18, 2024

This is not a problem as long as cookie logins provide the same permissions as token logins. Since I use HTTP Basic Auth, my users cannot login via token even once.

@lamarios
Copy link
Owner

Unfortunately. There's not much I can do here. If the cookie isn't functioning properly, you'll need to raise an issue on invidious.

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

2 participants