From ff4720863a4a09312a8a460679160118442c9f89 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Tue, 10 Oct 2023 14:31:38 +0200 Subject: [PATCH] Fix reva config of frontend service Set an empty Credentials chain. In ocis all non-reva token authentication is handled by the proxy. This avoid irritating error messages about the missing 'auth-bearer' service. Fixes: #6692 (cherry picked from commit e316d8ea3a94242d887a33431a7fcba36c40db73) --- services/frontend/pkg/revaconfig/config.go | 1 - 1 file changed, 1 deletion(-) diff --git a/services/frontend/pkg/revaconfig/config.go b/services/frontend/pkg/revaconfig/config.go index 3383251c1d..5e52b28d9d 100644 --- a/services/frontend/pkg/revaconfig/config.go +++ b/services/frontend/pkg/revaconfig/config.go @@ -94,7 +94,6 @@ func FrontendConfigFromStruct(cfg *config.Config) (map[string]interface{}, error }, "auth": map[string]interface{}{ "credentials_by_user_agent": cfg.Middleware.Auth.CredentialsByUserAgent, - "credential_chain": []string{"bearer"}, }, "prometheus": map[string]interface{}{ "namespace": "ocis",