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.