From 204b7c54b50ed90dad82199a5081817a0819d034 Mon Sep 17 00:00:00 2001 From: hummingbard Date: Sun, 6 Apr 2025 23:21:12 +0600 Subject: [PATCH] Added Discord to default upstream oauth2 providers, regenerated config schema --- crates/config/src/sections/upstream_oauth2.rs | 1 + docs/config.schema.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/config/src/sections/upstream_oauth2.rs b/crates/config/src/sections/upstream_oauth2.rs index 077e8de02..98b5f3c3c 100644 --- a/crates/config/src/sections/upstream_oauth2.rs +++ b/crates/config/src/sections/upstream_oauth2.rs @@ -432,6 +432,7 @@ pub struct Provider { /// - `github` /// - `gitlab` /// - `twitter` + /// - `discord` #[serde(skip_serializing_if = "Option::is_none")] pub brand_name: Option, diff --git a/docs/config.schema.json b/docs/config.schema.json index 0d8325529..94dcba7ed 100644 --- a/docs/config.schema.json +++ b/docs/config.schema.json @@ -1945,7 +1945,7 @@ "type": "string" }, "brand_name": { - "description": "A brand identifier used to customise the UI, e.g. `apple`, `google`, `github`, etc.\n\nValues supported by the default template are:\n\n- `apple` - `google` - `facebook` - `github` - `gitlab` - `twitter`", + "description": "A brand identifier used to customise the UI, e.g. `apple`, `google`, `github`, etc.\n\nValues supported by the default template are:\n\n- `apple` - `google` - `facebook` - `github` - `gitlab` - `twitter` - `discord`", "type": "string" }, "client_id": {