From c3f8439a4940e4fdc5890a43de3b41cbad13ec0e Mon Sep 17 00:00:00 2001 From: Elio Bischof Date: Wed, 24 Jul 2024 11:03:02 +0200 Subject: [PATCH] fix: vue logout url (#8353) # Which Problems Are Solved The default vue logout URL doesn't work with the @zitadel/vue defaults # How the Problems Are Solved A trailing slash is added to the default logout URL. # Additional Context Found while testing https://github.com/zitadel/zitadel-vue/pull/53 --- console/src/app/utils/framework.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/src/app/utils/framework.ts b/console/src/app/utils/framework.ts index 2869a81a5e..bc26d77001 100644 --- a/console/src/app/utils/framework.ts +++ b/console/src/app/utils/framework.ts @@ -29,7 +29,7 @@ export const OIDC_CONFIGURATIONS: OidcAppConfigurations = { .setResponseTypesList([OIDCResponseType.OIDC_RESPONSE_TYPE_CODE]) .setGrantTypesList([OIDCGrantType.OIDC_GRANT_TYPE_AUTHORIZATION_CODE]) .setRedirectUrisList(['http://localhost:5173/auth/signinwin/zitadel']) - .setPostLogoutRedirectUrisList(['http://localhost:5173']), + .setPostLogoutRedirectUrisList(['http://localhost:5173/']), // web applications ['next']: new AddOIDCAppRequest() .setAppType(OIDCAppType.OIDC_APP_TYPE_WEB)