OpenFeature: Update authenticated request check (#108539)

This commit is contained in:
Tania
2025-07-23 20:27:21 +02:00
committed by GitHub
parent 7c43c061a8
commit 60e0d2d136
+1 -1
View File
@@ -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