hi everyone, i want to add customized error message for key-auth plugin. here is my PR: Dev/key auth customize error msg by nimohunter · Pull Request #6040 · apache/apisix (github.com) <https://github.com/apache/apisix/pull/6040>
according from @spacewander, he think all the plugin's error msg should be customized in one place. like plugin's disable. according from @membphis , he think the key-auth plugin can only customized the error message without error code. What do you think? --- by the way, i think key-auth is suitable for call between service. For example, I have an API that I want to provide to colleagues in other departments. This logic is really suitable for key-auth and consumers.