从今天开始,我们使用linkedin javascript SDK 对用户进行身份验证的应用程序停止工作。我们意识到对 https://platform.linkedin.com/in.js 的调用现在重定向到 https://platform.linkedin.com/xdoor/scripts/in.js。
因此,调用IN.User.Authorize(callbackFunction)
成功打开了身份验证对话框窗口,但回调不再被触发。</p>
此外,在我们应用程序的另一部分中,我们使用IN.UI.Authorize.place().onWindowRemove.subscribe(callbackFunction)
跟踪对话框关闭。此功能也停止了措辞,现在打开一个带有 url 的新窗口,invalid://
控制台抛出此错误:</p>
jSecure Error: URL should be absolute with allowed schemas, relative, a hash fragment or query string. TODO?client_id=XXXX&type=user-agent in.js:7
jSecure Error: URL should be absolute with allowed schemas, relative, a hash fragment or query string. invalid://?xdOrigin=https%3A%2F%2FXXX-XXX&xdChannel=XXXX&xd_origin_host=https%3A%2F%2FXXXX.XXXX in.js:7
jSecure Error: URL should be absolute with allowed schemas, relative, a hash fragment or query string. TODO?client_id=XXXX&type=user-agent
您知道为什么这停止工作了吗?
编辑:错误于 2019 年 1 月 28 日再次出现。