mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #495] Authorization does not work #278
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @estepnv on GitHub (Dec 9, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/495
Problem
the authorization does not work for browser app, the server does not force me to submit http basic creds.
also I use ubuntu nautilus webdav capabilities, and it looks like it simply ignores the auth config too, allowing me to browse files without specifying creds. but it forces me to specify creds for obsidian remotelysave plugin webdav option.
also the app ignores render-index or render-spa configs. no matter what's specified, it serves the web app.
am I doing something wrong?
any clues on how to setup this properly?
thanks
Configuration
via env variables
Screenshots/Media
Environment Information
@sigoden commented on GitHub (Dec 9, 2024):
If the request does not include authorization, dufs will return a 401 status code, the browser will prompt the user to enter a username and password. This process is ensured by the browser and is unrelated to dufs.
Some WebDAV clients do not send credentials by default. This is why some users reported #467.
WebDAV doesn't support such features; they are browser-only.
Dufs is a mature project, and all functions have been tested. There shouldn't be any obvious authorization issues. If there are issues, it's mostly a problem on your end; you need to resolve it yourself.
@estepnv commented on GitHub (Dec 9, 2024):
thanks for reply