tzssangglass commented on code in PR #7406:
URL: https://github.com/apache/apisix/pull/7406#discussion_r917500079


##########
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:
   如果遇到 `the error request to the redirect_uri path, but there's no session 
state found` 的错误,请检查 redirect_url 设置。 IdP 将请求重定向到一个预先配置好的URL(redirect_url),例如 
`http://127.0.0.1:9080/callback`。请注意:这是一个在 APISIX 中不存在的 API,它只用于捕获相关的请求,并在 OIDC 
逻辑中完成 Token 交换的功能。



-- 
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-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to