We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e7feff commit 6ced12aCopy full SHA for 6ced12a
1 file changed
frontend/packages/core/src/pages/Login.tsx
@@ -154,7 +154,7 @@ const Login: FC = () => {
154
// 打开飞书授权页面
155
const openFeishuLogin = () => {
156
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)}`
+ const authUrl = `https://accounts.feishu.cn/open-apis/authen/v1/authorize?client_id=${feishuAppId}&redirect_uri=${href}`
158
localStorage.setItem('feishuCallbackUrl', href)
159
window.location.href = authUrl
160
}
0 commit comments