Skip to content

Commit

Permalink
fix: update auth url's domain
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Dec 3, 2024
1 parent 36ff0e9 commit 0c2e5a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions endpoints/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var Facebook = oauth2.Endpoint{

// Feishu is the endpoint for Feishu.
var Feishu = oauth2.Endpoint{
AuthURL: "https://open.feishu.cn/open-apis/authen/v1/authorize",
AuthURL: "https://accounts.feishu.cn/open-apis/authen/v1/authorize",
TokenURL: "https://open.feishu.cn/open-apis/authen/v2/oauth/token",
}

Expand Down Expand Up @@ -106,7 +106,7 @@ var KaKao = oauth2.Endpoint{

// Lark is the endpoint for Lark.
var Lark = oauth2.Endpoint{
AuthURL: "https://open.larksuite.com/open-apis/authen/v1/authorize",
AuthURL: "https://accounts.larksuite.com/open-apis/authen/v1/authorize",
TokenURL: "https://open.larksuite.com/open-apis/authen/v2/oauth/token",
}

Expand Down

0 comments on commit 0c2e5a4

Please sign in to comment.