Carl.Liang 发表于 2023-8-7 15:09:46

企业微信点击显示需使用应用可信域名

单独点击链接,显示“企业微信单点异常!”
后台报错:com.x.organization.assemble.authentication.jaxrs.qiyeweixin.ExceptionQywxResponse: 企业微信单点失败,错误代码:40029,错误消息:invalid code, hint: , from ip: XXX, more info at https://open.work.weixin.qq.com/devtool/query?e=40029.

链接按照教程中的工作台应用设置,检查多遍无错,该设置的也设置了。appid host port AgentId redirect_uri几个参数都有按照实际的设置。
企业可信IP有配置,网页授权及JS-SDK有配置,node_127.0.0.1.json文件里面的也有配置外网域名和端口。

有没有思路可以帮忙处理?感谢大佬

另外想确认下, o2oa里面使用企业微信的话需要配置单点登录里面的OAuth这个么?

Carl.Liang 发表于 2023-8-7 15:46:48

出现以上现象,打开浏览器开发者模式,报以下错误:(根据调试过程中看到的数据,code的值为null)
Uncaught TypeError: Cannot read properties of undefined (reading 'Common')
    at <anonymous>:1:157
    at Object.i.exec (mootools-1.6.0_all.js:1168:1)
    at Object.processScripts (mootools-1.6.0_all.js:6330:1)
    at Object.i.extend.$owner (mootools-1.6.0_all.js:1399:1)
    at Object.success (mootools-1.6.0_all.js:6335:1)
    at Object.i.extend.$owner (mootools-1.6.0_all.js:1399:1)
    at Object.onStateChange (mootools-1.6.0_all.js:6315:1)
    at Object.i.extend.$owner (mootools-1.6.0_all.js:1399:1)
    at Object.send (mootools-1.6.0_all.js:6478:1)
    at Object.i.extend.$owner (mootools-1.6.0_all.js:1399:1)

Carl.Liang 发表于 2023-8-7 17:07:40

直接在企业微信应用中打开进入应用,提示redirect_uri需使用应用可信域名

Carl.Liang 发表于 2023-8-7 20:23:54

已自行处理,谢谢

论坛管理员 发表于 2023-8-8 09:44:38

:handshake:handshake:handshake

Cui18713109823 发表于 2023-10-13 18:42:18

论坛管理员 发表于 2023-8-8 09:44


redirect_uri需使用应用可信域名
其他所有内容都配置了但是就是提示需配置可信域名
推送路径为 https://open.work.weixin.qq.com/wwopen/uriconfirm?err_type=domain_err&uri=http%3A%2F%2Fqiyeweixinsso.html%3Fredirect%3Dhttp%253A%252F%252Foa.szbanglian.com%253A30030%252Fx_desktop%252Fworkmobilewithaction.html%253Fworkid%253D4aafdc23-e592-462e-b036-a554af5bdb61

Cui18713109823 发表于 2023-10-16 17:50:32

论坛管理员 发表于 2023-8-8 09:44


管理员能帮我看下这个打不开推送路径的问题吗
页: [1]
查看完整版本: 企业微信点击显示需使用应用可信域名