Keep trailing slash on authorize endpoint URL
Some checks failed
ci / build-test (push) Has been cancelled
ci / docker-build (push) Has been cancelled
Desktop App / Build Linux (amd64) (push) Has been cancelled
Desktop App / Attach to Release (push) Has been cancelled

This commit is contained in:
2026-07-14 00:06:56 +02:00
parent d7197c1952
commit c8ef3793d7

View File

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