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/07/14 07:27:09 UTC
[GitHub] [apisix] airclear commented on issue #7460: help request: Can't enable plugin authz-casdoor
airclear commented on issue #7460:
URL: https://github.com/apache/apisix/issues/7460#issuecomment-1184094010
my fault ! wrong url I used
change to the apisix-admin's url it works:
```
curl "http://localhost:50701/apisix/admin/routes/3a8b12cf" -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
{
"uri": "/anything/*",
"name": "casdoor-httpbin",
"methods": ["GET"],
"host": "httpbin.xxx.com",
"plugins": {
"authz-casdoor": {
"endpoint_addr":"http://10.200.180.57:7001",
"callback_url":"http://httpbin.xxx.com:32380/anything/callback",
"client_id":"223c6180503181a2da92",
"client_secret":"b9add612d0142bfa3f9bd62cf0013e9cfbdd82ff"
}
},
"upstream_id": "5ce57b8e",
"status": 1
}'
```
--
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