StephenYjw opened a new issue #4241:
URL: https://github.com/apache/apisix/issues/4241
### Issue description
添加 jwt 插件时,希望可以添加一个属性,指定 jwt payload 中的claim name,对应 consumer 中的 key。
比如 jwt payload 如下:
```
{
"iss":"http://127.0.0.1",
"client_id":"application1",
"sub": "1234567890",
"iat": 1516239022
}
```
## 添加 jwt 插件 :

## consumer 配置:

### Environment
Request help without environment information will be ignored or closed.
* apisix version (cmd: `apisix version`):2.5
* OS (cmd: `uname -a`):
* OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
* etcd version, if have (cmd: run `curl
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
* apisix-dashboard version, if have:
* luarocks version, if the issue is about installation (cmd: `luarocks
--version`):
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]