Multiple Authentication on single kong route is failing

Hi,
I’m trying to enable both basic authentication and key authentication on a single kong route
steps follwed:

  1. creation of service
  2. creation of route
  3. creation of 2 consumers , consumer1 and consumer2
  4. assigned basic authentication for consumer1
  5. assigned key authentication for consumer2
  6. now trying to access the route with both of the authentication,
    example, first tried with basic authentication on kong route → this worked fine
    again i’m trying to access the kong route with key authentication-> it shows “invalid credentials”

the same thing vise versa also tested there also only the first applied authentication works fine, 2nd method gives invalid credentials.

could you please help suggesting if there is any other settings to be changed to handle this scenario