Hwting commented on a change in pull request #6630:
URL: https://github.com/apache/apisix/pull/6630#discussion_r828120614



##########
File path: docs/zh/latest/plugins/authz-keycloak.md
##########
@@ -81,6 +81,19 @@ curl http://127.0.0.1:9080/apisix/admin/routes/5 -H 
'X-API-KEY: edd1c9f034335f13
 
 ## 测试插件
 
+获取`{JWT Token}`
+
+```shell
+curl \
+  -d "client_id=<YOUR_CLIENT_ID>" \
+  -d "username=<YOUR_USERNAMED>" \
+  -d "password=<YOUR_PASSWORD>" \
+  -d "grant_type=password" \
+  "http://localhost:8080/realms/${realm}/protocol/openid-connect/token";

Review comment:
       KEYCLOAK_HTTP_PORT: Keycloak HTTP port. Default: 8080,Or change to 
<YOUR_KEYCLOAK_HOST>




-- 
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]


Reply via email to