From a395771960f07f771c0397796a5566bd35adbe9f Mon Sep 17 00:00:00 2001 From: dtoro Date: Mon, 13 Jul 2026 23:54:19 +0200 Subject: [PATCH] Fix doubled /authorize/ in OIDC auth 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 b2253fb..61cac43 100644 --- a/cmd/desktop/main.go +++ b/cmd/desktop/main.go @@ -165,7 +165,7 @@ func startOIDCServer() *http.Server { oidcSessions[sessionID] = &oidcSession{apiUrl: apiUrl, verifier: verifier, state: state, ch: ch} oidcSessionsMu.Unlock() - authURL := fmt.Sprintf("%s/authorize/?%s", + authURL := fmt.Sprintf("%s?%s", strings.TrimRight(oidcCfg.AuthorizationEndpoint, "/"), url.Values{ "response_type": {"code"},