mirror of
https://github.com/owncloud/ocis
synced 2026-04-26 01:35:25 +02:00
whitelist depending on the URI
This commit is contained in:
@@ -9,6 +9,11 @@ import (
|
||||
|
||||
var SupportedAuthStrategies []string
|
||||
|
||||
// ProxyWwwAuthenticate is a list of endpoints that do not rely on reva underlying authentication, such as ocs.
|
||||
// services that fallback to reva authentication are declared in the "frontend" command on OCIS.
|
||||
// TODO this should be a regexp, or it can be confused with routes that contain "/ocs" somewhere along the URI
|
||||
var ProxyWwwAuthenticate = []string{"ocs"}
|
||||
|
||||
type statusRecorder struct {
|
||||
http.ResponseWriter
|
||||
status int
|
||||
|
||||
Reference in New Issue
Block a user