OpenFeature: Update authenticated request check (#108539)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user