From 60e0d2d136cd8b90a8c5f4a5bf52b40bdf42f5e7 Mon Sep 17 00:00:00 2001 From: Tania <10127682+undef1nd@users.noreply.github.com> Date: Wed, 23 Jul 2025 20:27:21 +0200 Subject: [PATCH] OpenFeature: Update authenticated request check (#108539) --- pkg/registry/apis/ofrep/register.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/registry/apis/ofrep/register.go b/pkg/registry/apis/ofrep/register.go index de3f5ab2702..684e1f402e1 100644 --- a/pkg/registry/apis/ofrep/register.go +++ b/pkg/registry/apis/ofrep/register.go @@ -319,7 +319,7 @@ func (b *APIBuilder) isAuthenticatedRequest(r *http.Request) bool { if !ok { return false } - return user.GetIdentityType() != "" + return user.GetIdentityType() != types.TypeUnauthenticated } // validateNamespace checks if the namespace in the evaluation context matches the namespace in the request