-
-
Notifications
You must be signed in to change notification settings - Fork 291
Description
Describe the feature you'd like to request
In #844 support for TLS client certificate authentication was added to floccus. Specifically, this was implemented in f0dd89a, and is still accessible via the UI. However, it seems that the feature was silently dropped in 92de460 by unconditionally passing `credentials: 'omit'. Presently, it is unclear to me if this was intentional.
As such, TLS Client Certificate Authentication using the WebDav adapter is currently defunct as credentials is unconditionally set to credentials: 'omit' for all requests performed using the fetch API. When using TLS Client certificates it must be set to true (see also the MDN documentation).
Would it be possible to resurrect support for TLS client certificate authentication in the WebDav Adapter? Why was it dropped in 92de460? Currently, this is somewhat confusing as the "Send client credentials" option is still available in the plugin settings but is a no-op (at least for the WebDav adapter).
Describe the solution you'd like
See above.
Describe alternatives you've considered
Not support TLS client certificates, but considering that it was supported in the past and it requires few changes to the fetch API, I don't think it would require a lot of changes.