From 9c2571fc3b42dda121d8d01df82e8b1abc61107a Mon Sep 17 00:00:00 2001 From: Xie Yanbo Date: Tue, 9 Sep 2025 15:28:02 +0800 Subject: [PATCH] feat: add Feishu OAuth integration --- docs/getting-started/env-configuration.md | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/docs/getting-started/env-configuration.md b/docs/getting-started/env-configuration.md index 687535a9..a6c42008 100644 --- a/docs/getting-started/env-configuration.md +++ b/docs/getting-started/env-configuration.md @@ -2982,6 +2982,35 @@ You must also set `OPENID_PROVIDER_URL` or otherwise logout may not work. - Description: Sets the redirect URI for GitHub OAuth. - Persistence: This environment variable is a `PersistentConfig` variable. +### Feishu + +See https://open.feishu.cn/document/sso/web-application-sso/login-overview + +#### `FEISHU_CLIENT_ID` + +- Type: `str` +- Description: Sets the client ID for Feishu OAuth. +- Persistence: This environment variable is a `PersistentConfig` variable. + +#### `FEISHU_CLIENT_SECRET` + +- Type: `str` +- Description: Sets the client secret for Feishu OAuth. +- Persistence: This environment variable is a `PersistentConfig` variable. + +#### `FEISHU_CLIENT_SCOPE` + +- Type: `str` +- Default: `contact:user.base:readonly` +- Description: Specifies the scope for Feishu OAuth authentication. +- Persistence: This environment variable is a `PersistentConfig` variable. + +#### `FEISHU_CLIENT_REDIRECT_URI` + +- Type: `str` +- Description: Sets the redirect URI for Feishu OAuth. +- Persistence: This environment variable is a `PersistentConfig` variable. + ### OpenID (OIDC) #### `OAUTH_CLIENT_ID`