From 0b410311da75347bf143c599efa50a69f6b73faa Mon Sep 17 00:00:00 2001 From: yusing Date: Mon, 22 Dec 2025 17:13:42 +0800 Subject: [PATCH] fix(oidc): add trailing slash to OIDCAuthBasePath to work with paths like /authorize --- internal/auth/oidc.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/auth/oidc.go b/internal/auth/oidc.go index 4728f4db..27fc732e 100644 --- a/internal/auth/oidc.go +++ b/internal/auth/oidc.go @@ -68,9 +68,9 @@ func (auth *OIDCProvider) getAppScopedCookieName(baseName string) string { const ( OIDCAuthInitPath = "/" - OIDCAuthBasePath = "/auth" - OIDCPostAuthPath = OIDCAuthBasePath + "/callback" - OIDCLogoutPath = OIDCAuthBasePath + "/logout" + OIDCAuthBasePath = "/auth/" + OIDCPostAuthPath = OIDCAuthBasePath + "callback" + OIDCLogoutPath = OIDCAuthBasePath + "logout" ) var (