Skip to content

Commit cc47b99

Browse files
songquanpengpeick
authored andcommitted
fix: update auth url's domain
merges golang#760 (golang#760)
1 parent d550f2d commit cc47b99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

endpoints/endpoints.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var Facebook = oauth2.Endpoint{
4343

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

@@ -106,7 +106,7 @@ var KaKao = oauth2.Endpoint{
106106

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

0 commit comments

Comments
 (0)