What are the basic auth best practices for api gateways?

I currently use kong as a gateway, thinking that I can add simple authentication through basic auth. After practice, it is found that ajax requests can not be sent.

I know that ajax can add headers to do basic auth, but I don"t want to change the application. Other authentication methods oauth is not the same problem, or I use the wrong way.

Mar.22,2021
  • Why is it so hard to find a suitable APIGateway?

    The ingress of K8s has been tried many times, but it is not ideal. kong is generally available, but if you want to configure a 301jump, you need to install a plug-in. I think it would be nice to use a very simple design for this kind of thing. Encapsu...

    Mar.23,2021
Menu