@logto/connector-feishu-web 1.0.0-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +22 -0
- package/docs/config-template.json +4 -0
- package/lib/index.js +15668 -0
- package/lib/jest.config.d.ts +3 -0
- package/lib/src/constant.d.ts +5 -0
- package/lib/src/index.d.ts +13 -0
- package/lib/src/index.test.d.ts +1 -0
- package/lib/src/mock.d.ts +10 -0
- package/lib/src/types.d.ts +100 -0
- package/logo.svg +7 -0
- package/package.json +61 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Silverhand
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# 飞书网页
|
|
2
|
+
|
|
3
|
+
先进企业协作与管理平台,一站式无缝办公协作,团队上下对齐目标,全面激活组织和个人。
|
|
4
|
+
|
|
5
|
+
## 开始上手
|
|
6
|
+
|
|
7
|
+
飞书网页连接器是为桌面网页应用设计的。它采用了 OAuth 2.0 认证流程。
|
|
8
|
+
|
|
9
|
+
## 注册飞书开发者账号
|
|
10
|
+
|
|
11
|
+
如果你还没有飞书开发者账号,请在 [开放平台](https://open.feishu.cn/?lang=zh-CN) 注册。
|
|
12
|
+
|
|
13
|
+
## 创建应用
|
|
14
|
+
|
|
15
|
+
1. [开发者首页](https://open.feishu.cn/app?lang=zh-CN) 下方有 「创建企业自建应用」
|
|
16
|
+
2. 填写应用名称,选择「企业自建应用」,点击「创建应用」
|
|
17
|
+
3. 在左侧「安全设置中」添加相应的「重定向 URL」 `${your_logto_origin}/callback/${connector_id}`。其中 `connector_id` 在管理控制台添加了相应的连接器之后,可以在连接器的详情页中找到
|
|
18
|
+
4. 左侧「凭证与基本信息」中可以获取「AppID」、「AppSecret」
|
|
19
|
+
5. 左侧「应用发布」中需要发布第一个版本「AppID」、「AppSecret」才会生效
|
|
20
|
+
|
|
21
|
+
> ℹ️ **Note**
|
|
22
|
+
> 应用不发布版本,所获取的「AppID」、「AppSecret」 均无法使用,或请求错误。
|