Merge pull request #350 from APIParkLab/feature/1.9-OAuth

Feature/1.9 o auth
This commit is contained in:
ningyv
2025-07-17 16:35:23 +08:00
committed by GitHub
+1 -1
View File
@@ -153,7 +153,7 @@ const Login: FC = () => {
// 打开飞书授权页面
const openFeishuLogin = () => {
const href = location.href
const href = window.location.origin + window.location.pathname
const authUrl = `https://accounts.feishu.cn/open-apis/authen/v1/authorize?client_id=${feishuAppId}&redirect_uri=${href}`
localStorage.setItem('feishuCallbackUrl', href)
window.location.href = authUrl