fix(oidc): add trailing slash to OIDCAuthBasePath to work with paths like /authorize

This commit is contained in:
yusing
2025-12-22 17:13:42 +08:00
parent 2c22fd6d4e
commit f89573e718

View File

@@ -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 (