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/03/16 15:26:09 UTC
[GitHub] [apisix] Hwting commented on a change in pull request #6630: docs: polishing authz-keycloak's docs
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org