api-umbrella icon indicating copy to clipboard operation
api-umbrella copied to clipboard

Need to skip API Key check for Basic Auth APIs

Open atisharma1 opened this issue 5 years ago • 3 comments
trafficstars

Hello Team,

I have setup of API Umbrella and Spring boot at backend. I have 2 APIs - First, without any authentication and Second with Basic Authentication handled on Spring boot. When I am calling First API, it works fine. However, while calling second API with header 'Authorization', it throws below error: { "error": { "code": "API_KEY_INVALID", "message": "An invalid api_key was supplied. Get one at {{url}}" } }

Could you please let me know if there is any way to skip this API_KEY check while having 'Authorization' in header?

atisharma1 avatar Feb 23 '20 06:02 atisharma1

If you edit the route in Umbrella Admin, you can disable the api key checks, and even put in a 1 user basic auth setup.

You can do this either in Global request settings, or in sub-url request settings (if you want it to apply only for a matched set of routes)

science695 avatar Feb 27 '20 13:02 science695

API key is already disabled. Tried by setting HTTP Basic Authentication on Global request settings but still getting the same issue.

atisharma1 avatar Feb 28 '20 18:02 atisharma1

We are currently seeing this issue as well on v 0.14.2. Calls with and without API Key check that uses basic authentication returns this error.

mnguyen9 avatar Apr 14 '20 19:04 mnguyen9