You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
System config OIDC: Prompt is read from the Ports key instead of the Prompt key #12557
In AppConfig::loadOpenIdConfigFromSystemConfig() (src/libsync/config/appconfig.cpp, branch 7.1), the OpenID Connect Prompt value is read from the Ports settings key instead of the Prompt key:
OidcPromptKey is therefore never used to read the prompt.
Impact
When OpenID Connect is configured through the system configuration ([OpenIDConnect] section / registry), the administrator-provided Prompt value is ignored. Instead, prompt is populated with the raw string value of the Ports setting (e.g. "8080,8443"), which is not a valid OIDC prompt parameter.
Because a valid system OIDC config fully replaces the built-in/theme OIDC config (if (systemConfig.isValid()) _openIdConfig = systemConfig;), there is no fallback — the configured prompt is effectively unreachable via system configuration.
Found while verifying the documentation for the 7.1 "System Configuration" feature (docs-client-desktop#718). A prompt-handling test for loadOpenIdConfigFromSystemConfig() would catch this.
Activity
fix: read OIDC Prompt from the Prompt key, not the Ports key (#12557)
test: restore original OIDC prompt test value
erikjv commentedon Sep 15, 2026
Fixed in #12597 (master) and #12606 (7.1)