I'm trying to understand how authentication works in Kong.
I have a route and a service configured that connect to my API.
I have configured the basic-auth on both and its working correctly.
But, I would like to configure different authentication method on the route and the service.
For example:
route --> authenticate using key
service --> authenticate using the basic-auth
Basically what I would like to do is to authenticate the route using key-auth. Once authenticated on the route, the consumer forwards the basic-auth configured to the service.
Is that possible? Or I will have to do a transformation in the middle?
I made the configuration I mention, but I'm getting a 401 Unauthorized.
By the way, I'm using Kong 0.14.1
Thanks