简体   繁体   English

Outlook 插件图 API 移动设备上的 SSO 支持

[英]Outlook add-in Graph API SSO support on mobile

I have an Outlook web add-in that supports mobile devices and uses the Outlook REST API to perform operations that office-js does not offer eg moving emails to other folders, sending email. I have an Outlook web add-in that supports mobile devices and uses the Outlook REST API to perform operations that office-js does not offer eg moving emails to other folders, sending email. Key to this is that office-js provides a method to get a token that can be used on these calls without needing any user interaction.关键是 office-js 提供了一种方法来获取可以在这些调用中使用的令牌,而无需任何用户交互。

The Outlook REST API was deprecated in November 2020 and is set to be decommissioned in November 2022. Outlook REST API 已于 2020 年 11 月弃用,并将于 2022 年 11 月停用。

Microsoft suggests moving from the REST API to MS Graph API. Microsoft 建议从 REST API 迁移到 MS Graph API。 This is fine for desktop, however the OfficeRuntime.Auth.getAccessToken method used to get the bootstrap token for MS Graph SSO access is only available in IdentityAPI 1.3 requirements set.这对于桌面来说很好,但是用于获取 MS Graph SSO 访问的引导令牌的 OfficeRuntime.Auth.getAccessToken 方法仅在 IdentityAPI 1.3 要求集中可用。 The iOS and mobile platforms do not have IdentityAPI 1.3 available. iOS 和移动平台没有 IdentityAPI 1.3 可用。

Does this effectively mean that there is no external Mail API access mechanism available to Outlook add-ins on mobile that doesn't require user interaction ie SSO on mobile is not possible for add-ins using MS Graph API.这是否实际上意味着没有外部 Mail API 访问机制可用于不需要用户交互的移动设备上的 Outlook 加载项,即移动设备上的 SSO 对于使用 MS Graph ZDB974238714CA8DE634A7ACE14 的加载项是不可能的。

Note: My main concern is around keeping the add-in working as it is on mobile, I'd hoped to do so using MS Graph but if that's not an option I'm open to alternatives.注意:我主要关心的是保持加载项在移动设备上的工作,我希望使用 MS Graph 来做到这一点,但如果这不是一个选项,我愿意接受替代方案。

Currently SSO is not supported on mobile.目前移动设备不支持 SSO。 We track Outlook add-in feature requests on our Tech Community Page .我们在我们的技术社区页面上跟踪 Outlook 加载项功能请求。 Please submit your request there and choose the appropriate label(s).请在那里提交您的请求并选择适当的标签。 Feature requests on Tech Community are considered when we go through our planning process.当我们通过我们的规划过程 go 时,会考虑技术社区的功能请求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM