Key Authentication is not working


Key Authentication plugin does not seem to work. I have tested the Basic Authentication plugin and it worked fine.

My setup:
Kong: Docker 1.0.3-alpine
Database: Docker Postgres 11.2-alpine
Setup: Created a service, route, added key-auth to route, created consumer and generated a key.

When the apikey is set in the request, I receive

HTTP 401 Unauthorized
{"message":"No API key found in request"}

It occurs when the apikey is set in the query string or header.

Thanks for your help!

It seems another user faces a similar issue with this plugin.


After digging further, the error seems to be on the side of Konga.

An issue has been filed as well - https://github .com/pantsel/konga/issues/369