xy3 在 new-api接入oauth2飞书教程,适用于企业内部的newapi管理 中发帖
1.新建应用
在开发者后台 - 飞书开放平台新建应用,权限需要contact:contact.base:readonly,contact:user.email:readonly
2.访问newapi的系统设置
/console/setting?tab=system
找到自定义 OAuth 提供商
Client ID,Client Secret
填写飞书的App ID,App Secret
显示名称可以写飞书,slug可以写feishu
[image]
Authorization Endpoint:https://accounts.feishu.cn/open-apis/authen/v1/authorize
Token Endpoint:https://open.feishu.cn/open-apis/authen/v2/oauth/token
User Info ...