feat(auth-app): make service optional plus docu

Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
jkoberg
2024-07-15 10:51:04 +02:00
parent 3b3d30159d
commit 11103a4220
8 changed files with 46 additions and 11 deletions
+1
View File
@@ -91,6 +91,7 @@ var (
// AuthMiddleware configures the proxy http auth middleware.
type AuthMiddleware struct {
CredentialsByUserAgent map[string]string `yaml:"credentials_by_user_agent"`
AllowAppAuth bool `yaml:"allow_app_auth" env:"PROXY_ENABLE_APP_AUTH" desc:"Allow app authentication. This can be used to authenticate 3rd party applications. Note that auth-app service must be running for this feature to work." introductionVersion:"%NEXT%"`
}
// PoliciesMiddleware configures the proxy's policies middleware.