From c8ef3793d734540a5f0ce54cfbe70907ff31ed65 Mon Sep 17 00:00:00 2001 From: dtoro Date: Tue, 14 Jul 2026 00:06:56 +0200 Subject: [PATCH] Keep trailing slash on authorize endpoint URL --- cmd/desktop/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/desktop/main.go b/cmd/desktop/main.go index beebbaa..9dce921 100644 --- a/cmd/desktop/main.go +++ b/cmd/desktop/main.go @@ -166,7 +166,7 @@ func startOIDCServer() *http.Server { oidcSessionsMu.Unlock() authURL := fmt.Sprintf("%s?%s", - strings.TrimRight(oidcCfg.AuthorizationEndpoint, "/"), + oidcCfg.AuthorizationEndpoint, url.Values{ "response_type": {"code"}, "client_id": {oidcCfg.ClientID},