fix: 修改飞书登录回调地址为公网域名
- 使用 https://xsm.dev.hnxinyouhe.com/login 作为回调地址 - 确保飞书授权可以正常跳转 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -25,8 +25,8 @@ export default function Login() {
|
||||
const redirectToFeishu = () => {
|
||||
// 飞书应用配置
|
||||
const appId = 'cli_a8033d607cba500d'
|
||||
// 当前页面 URL 作为回调地址
|
||||
const redirectUri = encodeURIComponent(window.location.origin + '/login')
|
||||
// 使用公网域名作为回调地址
|
||||
const redirectUri = encodeURIComponent('https://xsm.dev.hnxinyouhe.com/login')
|
||||
// 租户密钥(新友合公司)
|
||||
const tenantKey = '14e7bc0fe5985740'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user