How to make a customized authentication algorithm ?

In some cases,I need to define my own dynamic key to pass to the gateway,then the gateway or backend service can check if the acount is legal. Can kong help?

Hi,

Yes, you can use Kong to develop a custom plugin to meet your needs here! Have a look at the plugin development guide, which provides extensive discussion for this: https://docs.konghq.com/1.1.x/plugin-development/