feat: update feishu oauth login

This commit is contained in:
JustSong
2024-12-20 23:27:00 +08:00
parent 7c8628bd95
commit 45b51ea0ee
4 changed files with 4 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ func getLarkUserInfoByCode(code string) (*LarkUser, error) {
if err != nil {
return nil, err
}
req, err := http.NewRequest("POST", "https://passport.feishu.cn/suite/passport/oauth/token", bytes.NewBuffer(jsonData))
req, err := http.NewRequest("POST", "https://open.feishu.cn/open-apis/authen/v2/oauth/token", bytes.NewBuffer(jsonData))
if err != nil {
return nil, err
}