使用办公室加载项,SSO资源设置SSO”。由于域不匹配而无法使用

发布于 2025-02-03 00:21:29 字数 577 浏览 3 评论 0原文

我正在尝试使用我的办公室加载项实现SSO。为此,我使用的是Office IdentityApi,它要求您拥有一个应用程序ID URI,该应用程序具有一些限制(例如您拥有该域并进行了验证)。使用MS LINGO,我们拥有 www.contoso.com www.contoso.com/ {appid} ,如文档中所建议。但是,我的加载项被托管在Azure静态存储上,该存储的域 www.contoso。 z12.web.windows.net ,这与appid uri不同。这意味着在尝试使用此设置时,我会在问题中遇到错误。将appid uli更改为静态网站上的域行不通的域。有人有任何建议吗?

I am trying to implement SSO with my office add-in. To do this, I am using the office IdentityAPI, which requires you to have an application ID URI, that has some restrictions (such as you owning the domain and it being verified). Using MS lingo, we own www.contoso.com and www.contoso.onmicrosoft.com, so I have set up the AppID URI to be www.contoso.com/{appId}, as is suggested in the documentation. However, my add-in is being hosted on Azure static storage, which has a domain www.contoso.z12.web.windows.net, which is different to the the AppID URI. This means that I get the error in the question when trying to use this setup. Changing the AppID URI to the domain that the static website is on does not work. Does anyone have any suggestions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

明月松间行 2025-02-10 00:21:29

您需要使用有效的证书在自定义域上托管加载项。 Azure AD Services不接受公共Azure网站。这是将SSO与Azure AD一起使用的众所周知的限制。

SSO配置页面上的错误应明确说明。

You need to host the add-in on the custom domain with a valid certificate. Public Azure web sites are not accepted by the Azure AD services. This is a well-known restriction for using the SSO with Azure AD.

The error on the SSO configuration page should state that explicitly.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文