我使用 Openresty 作为服务器。我有 nginx 的配置文件 https://eclipsesource.com/blogs/2018/01/11/authenticating-reverse-proxy-with-keycloak/ 。
我收到以下错误“openidc.lua:1053:authenticate():请求到redirect_uri_path,但没有找到 session 状态,客户端”
有人可以提供一些线索并尝试解决问题吗?
问候, 阿拉巴克什
最佳答案
您的重定向 URI 不得设置为 "/"
但到一些不应该返回内容的任意路径(例如 /redirect_uri
)。这是一个“虚荣”URL,由 lua-resty-openidc
处理。
关于nginx - Openidc 与 Keycloak 错误 uthenticate() : request to the redirect_uri_path but there's no session state found, 客户端,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49338403/