带有 OIDC 的 WSO2:如何配置注销端点
WSO2 with OIDC: How to Configure Logout Endpoint
我运行正在使用 WSO2 Identity Server 5.7.0 并使用 OpenID Connect。我目前在导航到 https://MY_DOMAIN/oidc/logout, when I think I should be redirected to a page under the /authenticationendpoint resource. I noticed in the "Logout Endpoint URL" under Resident Identity Provider > Inbound Authentication Configuration > OAuth2/OpenID Connect Configuration is set to "https://MY_DOMAIN:-1/oidc/logout 时收到无效的重定向错误。
我假设注销端点 URL 是根据 identity.xml 中的 OIDCLogoutEPUrl 配置值配置的。在我的 identity.xml 文件中,此值设置为 ${carbon.protocol}://${carbon.host}:${carbon.management.port}/oidc/logout.
我的第一个问题:注销端点 URL 值是否仅在 WSO2 第一个 运行 并且数据库已初始化时才复制到数据库?
后续问题:如果答案是否定的,我如何在不重新播种数据库的情况下配置该值?
感谢您的帮助。
回答你的第一个问题:
注销端点 URL 将不会在第一个 运行 期间添加到数据库中。服务器启动期间始终从 identity.xml -> OAuth -> OIDCLogoutEPUrl 读取值。然而,重要的是要有路径 "oidc/logout" 以便将注销请求传送到 "OIDCLogoutServlet" [1].
一旦 OIDCLogoutServlet 收到注销请求,您可以通过更改 OIDCLogoutConsentPage、OIDCLogoutPage 来进一步自定义重定向。
我运行正在使用 WSO2 Identity Server 5.7.0 并使用 OpenID Connect。我目前在导航到 https://MY_DOMAIN/oidc/logout, when I think I should be redirected to a page under the /authenticationendpoint resource. I noticed in the "Logout Endpoint URL" under Resident Identity Provider > Inbound Authentication Configuration > OAuth2/OpenID Connect Configuration is set to "https://MY_DOMAIN:-1/oidc/logout 时收到无效的重定向错误。
我假设注销端点 URL 是根据 identity.xml 中的 OIDCLogoutEPUrl 配置值配置的。在我的 identity.xml 文件中,此值设置为 ${carbon.protocol}://${carbon.host}:${carbon.management.port}/oidc/logout.
我的第一个问题:注销端点 URL 值是否仅在 WSO2 第一个 运行 并且数据库已初始化时才复制到数据库?
后续问题:如果答案是否定的,我如何在不重新播种数据库的情况下配置该值?
感谢您的帮助。
回答你的第一个问题: 注销端点 URL 将不会在第一个 运行 期间添加到数据库中。服务器启动期间始终从 identity.xml -> OAuth -> OIDCLogoutEPUrl 读取值。然而,重要的是要有路径 "oidc/logout" 以便将注销请求传送到 "OIDCLogoutServlet" [1].
一旦 OIDCLogoutServlet 收到注销请求,您可以通过更改 OIDCLogoutConsentPage、OIDCLogoutPage 来进一步自定义重定向。