Kong-OIDC插件注销

问题描述

我正在使用 kong-oidc (https://github.com/nokia/kong-oidc) 作为身份验证提供程序的 keycloack 插件

配置按预期工作(我使用 konga 作为接口)。登录程序没问题。

现在我需要注销,但我不明白如何到达 logout 端点。

如何退出应用程序?

enter image description here

解决方法

经过一些测试,我找到了一个解决方案,它比预期的要简单。

通过我的 oidc 配置,我只需要向使用该插件的服务添加一个路由 logout

这个问题讨论澄清了一些方面 https://github.com/nokia/kong-oidc/issues/30#issuecomment-487464297

enter image description here