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/11 13:46:06 UTC
[GitHub] [apisix] starsz commented on a diff in pull request #7406: docs: update openid-connect plugin document
starsz commented on code in PR #7406:
URL: https://github.com/apache/apisix/pull/7406#discussion_r917952281
##########
docs/zh/latest/plugins/openid-connect.md:
##########
@@ -199,4 +189,6 @@ curl http://127.0.0.1:9080/apisix/admin/routes/1 \
## 故障排除
-如果 APISIX 无法解析或者连接到身份提供者,请检查或修改配置文件(`./conf/config.yaml`)中的 DNS 设置。
+1. 如果 APISIX 无法解析或者连接到身份认证服务(如 Okta、Keycloak、Authing 等),请检查或修改配置文件(`./conf/config.yaml`)中的 DNS 设置。
+
+2. 如果遇到 `the error request to the redirect_uri path, but there's no session state found` 的错误,请确认当前访问的 URL 是否携带了 `code` 与 `state`,请勿直接访问 `redirect_uri`。
Review Comment:
Another thing that should take care.The `redirect_uri` should under the routes.
It means if the uri in routes is `/api/v1/*`. The `redirect_uri` should be like this `/api/v1/callback`.
--
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