tangtj commented on issue #517: URL: https://github.com/apache/apisix-docker/issues/517#issuecomment-1797967594
> Do you use dashboard to manager plugins? i try dashboard and admin api , cant found forward-auth ` curl --location --request PATCH 'http://ip:port/apisix/admin/routes/486219574769877929/plugins' \ --header 'Content-Type: application/json' \ --header 'X-API-KEY:' \ --data-raw ' {"plugins": { "forward-auth": { "uri": "http://127.0.0.1:9080/auth", "request_headers": ["Authorization"], "upstream_headers": ["X-User-ID"], "client_headers": ["Location"] } } }' ` resp ` { "error_msg": "unknown plugin [plugins]" } ` -- 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]
