Hello everyone, how are you doing?
We are using kong to proxy requests to 5 URLs (5 targets in 1 upstream object) and we need to use Basic Auth or Token Auth to only one target of them. There is a way to config it using Kong?
The Auth is only for 1 upstream service and the credential is static.
@gabriel_idwall Welcome to Kong Nation!
This should be easily possible using the Routes and Services concept inside Kong.
You can create one Service in Kong for your upstream object and then create 5 routes for your 5 URLs.
Once you have that working, you can apply an authentication plugin of your choice on the specific route that you would like to protect.
Please follow the Getting started guide for detailed explanation.