zou8944 opened a new issue #4823: URL: https://github.com/apache/apisix/issues/4823
### Issue description 你好,两个问题,请帮忙解答我应该如何使用。 1. 我需要的场景类似[key-auth](https://github.com/apache/apisix/blob/master/docs/zh/latest/plugins/key-auth.md),但是我还需要在插件获取到自定义key时去调用自定的验证服务进行验证。即,key是变化的,而不是不变的。类似nginx的auth.url功能。 2. 验证key后,需要根据验证结果返回自定义的响应body,类似下面。而不是apisix自定义的响应消息体。 ```json { "code": "TokenOutOfDate", "msg": "token已过期", "data": null } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
