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"},