【问题标题】:Refused to display in a frame becasue it sets X-frame-options to DENY?拒绝在框架中显示,因为它将 X-frame-options 设置为 DENY?
【发布时间】:2015-01-12 08:00:56
【问题描述】:

我正在使用 Microsoft 登录在我的项目中使用 Single sing 现在我正在尝试在此站点上使用 yammer embed,但它给出了以下错误。

拒绝显示 https://login.microsoftonline.com/common/oauth2/authorize? client_id=xxxx&login_hint=&nonce=xxxx&nux=1&prompt=none&redirect_uri=https%3A%2F%2Fpersona.yammer.com%2F office_sessions%3Fon_error%3Dhttps%3A%2F%2Fwww.yammer.com%2Fplatform_embed%2Foffice_login_error&response_mode=query&response_type=id_token&scope= =xxxx&state=xxxx 在一个框架中,因为它将“X-Frame-Options”设置为“DENY”

谁能帮帮我。

【问题讨论】:

  • 请在页面中发布您要启用 Yammer 嵌入的代码。您可能有“use_sso:true”导致问题。

标签: single-sign-on yammer x-frame-options


【解决方案1】:

这是一种故意行为 - 通常身份提供者会出于安全原因拒绝在 iframe 中显示登录页面。您应该使用弹出式或就地重定向。

【讨论】:

    猜你喜欢
    • 2017-06-15
    • 1970-01-01
    • 2016-08-25
    • 2023-01-31
    • 2016-08-15
    • 2019-02-24
    • 2013-04-20
    • 2014-06-26
    • 2013-12-28
    相关资源
    最近更新 更多