iFrame 中的 LinkedIn 身份验证请求页面?
有人有使用 LinkedIn 的经验吗?我试图将他们的身份验证请求(允许此应用程序访问我的...)页面放入 iFrame 中并将其加载到我的页面中。
但是,加载后 - 它会立即将自身重新加载到整个窗口中。有谁知道这是否是故意阻止的...我认为子 iFrame 不可能做这样的事情?
似乎这是相关的 使用 JS 如何阻止子 iframe 重定向或至少提示用户重定向,但这会重定向到您请求的另一个页面,不会停止 iframe 重新加载。
Has anyone any experience with LinkedIn? I'm trying to put their auth request (the allow this application to access my...) page in an iFrame and load it into my page.
However, immediately after loading - it reloads itself into the entire window. Does anyone know if this is deliberately blocked... I thought it wasn't possible for the child iFrame to do such a thing?
Appears this is relevant Using JS how can I stop child Iframes from redirecting or at least prompt users about the redirect but this redirects to another page you request, no stops the iframe reloading.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我们不希望你这样做。我们希望人们能够在浏览器中看到该 URL,这样他们就知道这不是网络钓鱼尝试。否则,任何人都可以创建一个虚假页面并将人们重定向到该页面。
We don't want you to do this. We want people to be able to see the URL in their browser, so they know it's not a phishing attempt. Otherwise, anyone could just create a fake page and redirect people to it.