mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-22 08:02:19 +00:00
cac4bdd54f
When an OAuth provider entry in instance settings has unexpected types (e.g. `"true"` instead of `true` for req_body_auth), the entire /api/settings/instance_config endpoint would fail with a deserialization error, preventing access to any instance settings. Introduce OAuthClientEntry enum that tries typed OAuthClient deserialization first and falls back to raw JSON, logging the deserialization error. This allows the settings page to load even when individual OAuth entries are malformed. Also show a user-visible error toast in SaveButton on save failure instead of only logging to console. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>