You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/09/30 09:18:23 UTC
[GitHub] [apisix] C2022021 opened a new issue, #8032: help request: public api http method?
C2022021 opened a new issue, #8032:
URL: https://github.com/apache/apisix/issues/8032
### Description
When I setting jwt-auth plugin, I need to expose "/apisix/plugin/jwt/sign" endpoint through public-api plugin. But not I only can call this endpoint by HTTP GET method even if I setting method rewrite for the route. Is that possible to change the http method of system defined public-api?
### Environment
- APISIX version (run `apisix version`): 2.13.3
- Operating system (run `uname -a`): RHEL 8.6
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): 3.4.13
- APISIX Dashboard version, if relevant: 2.13.0
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] C2022021 closed issue #8032: help request: public-api http method?
Posted by GitBox <gi...@apache.org>.
C2022021 closed issue #8032: help request: public-api http method?
URL: https://github.com/apache/apisix/issues/8032
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #8032: help request: public-api http method?
Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #8032:
URL: https://github.com/apache/apisix/issues/8032#issuecomment-1263394808
GET /apisix/plugin/jwt/sign is defined in the source code and does not provide a way to modify it, you can modify the source code yourself.
https://github.com/apache/apisix/blob/a45db5a70af14cdb694f65ce8fc115e1d5910024/apisix/plugins/jwt-auth.lua#L453-L461
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org