clipious icon indicating copy to clipboard operation
clipious copied to clipboard

Cannot login by token if Invidious server requires HTTP Basic Auth

Open kkwpsi opened this issue 1 year ago • 5 comments

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: https://github.com/iv-org/invidious/issues/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 avatar Sep 18 '24 12:09 kkwpsi

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

lamarios avatar Sep 18 '24 13:09 lamarios

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.

kkwpsi avatar Sep 18 '24 13:09 kkwpsi

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.

lamarios avatar Sep 18 '24 13:09 lamarios

Any idea how to login, even with cookie, when using basic auth? I seem to always get "Could not fetch videos. Tap to try again." and seeing 403 status in the logs (I only use my Subscriptions feed btw)

This might be related to https://github.com/lamarios/clipious/issues/599

bonswouar avatar Jul 05 '25 16:07 bonswouar

Also experiencing this. I simply cannot view any subscription content

CloisteredCaiman avatar Nov 16 '25 04:11 CloisteredCaiman