From e316d8ea3a94242d887a33431a7fcba36c40db73 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 --- 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 c490a16b04..aa8325d671 100644 --- a/services/frontend/pkg/revaconfig/config.go +++ b/services/frontend/pkg/revaconfig/config.go @@ -110,7 +110,6 @@ func FrontendConfigFromStruct(cfg *config.Config, logger log.Logger) (map[string }, "auth": map[string]interface{}{ "credentials_by_user_agent": cfg.Middleware.Auth.CredentialsByUserAgent, - "credential_chain": []string{"bearer"}, }, "prometheus": map[string]interface{}{ "namespace": "ocis",