nginx - Openidc 与 Keycloak 错误 uthenticate() : request to the redirect_uri_path but there's no session state found, 客户端

标签 nginx keycloak openresty lua-resty-openidc

我使用 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/

相关文章:

nginx - 认证后如何重定向回主页

jakarta-ee - 生成keycloak用户设置页面URL

single-sign-on - 作为 SSO 解决方案的 CAS 与 Okta 与 Keycloak 的比较

caching - Nginx,关闭特定文件的缓存

mysql - 如何使用 Nginx 允许安全远程连接到本地 MySQL 数据库?

freemarker - Keycloak在注册屏幕上删除名字和姓氏字段

nginx - 如何将lua变量返回到nginx变量中

nginx - Openresty:使用lua进行http调用并返回其解析结果

python - 如何使用 nginx + uwsgi 部署 Flask-restplus 应用程序

node.js - Elastic Beanstalk 单实例 SSL .ebextensions 配置文件不起作用