Skip to content

Commit 6ced12a

Browse files
author
lcx
committed
feat: Add Feishu OAuth login & consumer-grade MCP
1 parent 9e7feff commit 6ced12a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/packages/core/src/pages/Login.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ const Login: FC = () => {
154154
// 打开飞书授权页面
155155
const openFeishuLogin = () => {
156156
const href = window.location.origin + window.location.pathname
157-
const authUrl = `https://accounts.feishu.cn/open-apis/authen/v1/authorize?client_id=${feishuAppId}&redirect_uri=${encodeURIComponent(href)}`
157+
const authUrl = `https://accounts.feishu.cn/open-apis/authen/v1/authorize?client_id=${feishuAppId}&redirect_uri=${href}`
158158
localStorage.setItem('feishuCallbackUrl', href)
159159
window.location.href = authUrl
160160
}

0 commit comments

Comments
 (0)