我在使用Microsoft登录的项目中使用Single sing on我正在尝试使用yammer嵌入此站点,但它发出以下错误。
拒绝展示 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 = open_id& site_id = xxxx& state = xxxx 在一个框架中,因为它将'X-Frame-Options'设置为'DENY'
任何人都可以帮助我。
答案 0 :(得分:1)
这是一种故意行为 - 由于安全原因,通常身份提供商会拒绝在iframe中显示登录页面。您应该使用弹出式或就地重定向。