File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
system-chat-user/authentication/component
system-setting/authentication/component Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ const open = async (platform: Platform) => {
161161 currentPlatform .config .agent_id = currentPlatform .config .app_key
162162 delete currentPlatform .config .app_key
163163 }
164- currentPlatform .config .callback_url = ` ${ defaultCallbackUrl }/auth/wecom `
164+ currentPlatform .config .callback_url = window . location . origin
165165 break
166166 case ' dingtalk' :
167167 if (currentPlatform .config .agent_id ) {
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ const open = async (platform: Platform) => {
161161 currentPlatform .config .agent_id = currentPlatform .config .app_key
162162 delete currentPlatform .config .app_key
163163 }
164- currentPlatform .config .callback_url = ` ${ defaultCallbackUrl }/api/wecom `
164+ currentPlatform .config .callback_url = window . location . origin
165165 break
166166 case ' dingtalk' :
167167 if (currentPlatform .config .agent_id ) {
You can’t perform that action at this time.
0 commit comments