From 52b3882b879755de5582442f4998426c486f9793 Mon Sep 17 00:00:00 2001 From: Andrew Martinez Date: Wed, 18 Oct 2023 09:51:10 -0400 Subject: [PATCH] fixes callback vs logout for post URIs --- controller/server/oidc-api.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/controller/server/oidc-api.go b/controller/server/oidc-api.go index 27df07db4..c1ecb85ee 100644 --- a/controller/server/oidc-api.go +++ b/controller/server/oidc-api.go @@ -154,10 +154,10 @@ func NewOidcApiHandler(serverConfig *xweb.ServerConfig, ae *env.AppEnv, options if len(oidcConfig.PostLogoutURIs) == 0 { oidcConfig.PostLogoutURIs = append(oidcConfig.PostLogoutURIs, "openziti://auth/logout") - oidcConfig.PostLogoutURIs = append(oidcConfig.PostLogoutURIs, "https://127.0.0.1:*/auth/callback") - oidcConfig.PostLogoutURIs = append(oidcConfig.PostLogoutURIs, "http://127.0.0.1:*/auth/callback") - oidcConfig.PostLogoutURIs = append(oidcConfig.PostLogoutURIs, "https://localhost:*/auth/callback") - oidcConfig.PostLogoutURIs = append(oidcConfig.PostLogoutURIs, "http://localhost:*/auth/callback") + oidcConfig.PostLogoutURIs = append(oidcConfig.PostLogoutURIs, "https://127.0.0.1:*/auth/logout") + oidcConfig.PostLogoutURIs = append(oidcConfig.PostLogoutURIs, "http://127.0.0.1:*/auth/logout") + oidcConfig.PostLogoutURIs = append(oidcConfig.PostLogoutURIs, "https://localhost:*/auth/logout") + oidcConfig.PostLogoutURIs = append(oidcConfig.PostLogoutURIs, "http://localhost:*/auth/logout") } var err error