Key Authentication is not working

#1

Hi!

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!

0 Likes

#2

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

Details: https://github.com/Kong/kong/issues/4405

0 Likes

#3

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

0 Likes