问题标签 [lua-resty-openidc]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
163 浏览

openresty - Openresty: Manually refreshing the id token without refreshing the session token?

I was looking at the readme at https://github.com/zmartzone/lua-resty-openidc and I saw that there was a refresh_session_interval option which supposedly "refreshes the users id_token after X seconds without requiring re-authentication".

This works for our situation but I was wondering if there was some config or option so that we could manually trigger that refresh ourselves instead of passively waiting.

Thanks in advance.

0 投票
0 回答
680 浏览

refresh - 会话超时/会话以 Openresty 和 Keycloak 中的 lua-resty-openidc 结束

我正在尝试使用 OpenResty NGINX 服务器配置 lua-resty-openidc。对网站使用身份验证。

有谁知道,如果我可以让会话结束或强制客户端刷新令牌?

我通过在身份验证系统 Keycloak 中结束会话进行测试,没有任何反应,用户仍然可以访问,留在网站上,不需要重新身份验证。