Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

与钉钉扫码登录接口冲突 #38

Open
Long0x0 opened this issue Jul 22, 2023 · 0 comments
Open

与钉钉扫码登录接口冲突 #38

Long0x0 opened this issue Jul 22, 2023 · 0 comments

Comments

@Long0x0
Copy link

Long0x0 commented Jul 22, 2023

钉钉的接口示例代码 过于草率:

var handleMessage = function (event) {
  var origin = event.origin;
  console.log("origin", event.origin);
  if( origin == "https://login.dingtalk.com" ) { //判断是否来自ddLogin扫码事件。
    var loginTmpCode = event.data; 
    //获取到loginTmpCode后就可以在这里构造跳转链接进行跳转了
    
    console.log("loginTmpCode", loginTmpCode);
  }
}

导致接入扫码登录接口的网站无法正常使用(https://zjuam.zju.edu.cn/cas/login)
希望可以修复一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant