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
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e507cd-656d1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e507cd-656d1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?