-
-
Notifications
You must be signed in to change notification settings - Fork 316
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
[BUG] HTTP Basic Authentication Breaks NextCloud #1057
Comments
This is unfortunately is a feature of NextCloud because NextCloud supports basic auth at some level and the general basic auth headers are interfering. We may be able to force nginx to remove auth headers in the location directive; however this will essentially break NextCloud's basic auth implementation. I can't guarantee there's a real fix here, as a potential fix could potentially inconvenience another user. A workaround could be to have a subdomain and use that subdomain only for accessing NextCloud as basic auth credentials are cached at the domain level in browsers. |
This is what I assumed - it's a shame it's not an easy fix. Is it possible to have NextCloud setup as normal (with it accessible through the swizzin web dashboard) on a seperate domain? What configs do I change to make this happen (so that the NextCloud link on the dashboard directs to the new subdomain) In terms of forcing nginx to remove the headers - could this be something optional during install? I don't even see how you'd enable basic auth in NextCloud so I'd bet it's a real edge-case that someone wouldn't want this functionality. |
I recently tried to set up Nextcloud on my swizzin install and I was pulling my hair out trying to debug what was going on, glad someone did and I can stop going crazy. |
Hi I have the same problem there. Is there any workaround to fix this ? |
What happened?
Steps to reproduce:
Log in to Swizzin
Navigate to the NextCloud web interface
Blank 'Error' Screen. This is due to NextCloud not liking the Basic authentication in the header.
Remove Authentication header from HTTP request.
NextCloud works as normal
Expected results:
NextCloud should work as normal after basic authentication.
Swizzin commit
9dc0c50
What OS are you using?
Ubuntu 22.04 (Jammy)
What architecture is your OS?
amd64
Relevant logs and output
No response
The text was updated successfully, but these errors were encountered: