Skip to content

Commit

Permalink
feat: add Feishu & Lark's OAuth Endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng authored and peick committed Jan 5, 2025
1 parent 3108de2 commit d550f2d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions endpoints/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ var Facebook = oauth2.Endpoint{
TokenURL: "https://graph.facebook.com/v3.2/oauth/access_token",
}

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

// Foursquare is the endpoint for Foursquare.
var Foursquare = oauth2.Endpoint{
AuthURL: "https://foursquare.com/oauth2/authorize",
Expand Down Expand Up @@ -98,6 +104,12 @@ var KaKao = oauth2.Endpoint{
TokenURL: "https://kauth.kakao.com/oauth/token",
}

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

// LinkedIn is the endpoint for LinkedIn.
var LinkedIn = oauth2.Endpoint{
AuthURL: "https://www.linkedin.com/oauth/v2/authorization",
Expand Down

0 comments on commit d550f2d

Please sign in to comment.