【发布时间】:2017-03-08 14:30:19
【问题描述】:
我正在尝试使用
上的示例使匿名加入会议工作https://github.com/OfficeDev/skype-docs/tree/master/Skype/WebSDK
我针对 localhost IIS 管理了一个正在运行的示例实例,除上述之外,大多数功能似乎都可以正常工作。请注意,我正在针对 Azure AD / Office 365 进行身份验证。
我确实遇到了一些我解决过的问题。例如,我遇到了“服务不允许来自此来源的跨域请求”,我使用 fiddler 过滤器临时修补它以删除 X-Ms-Origin 标头。
在我花太多时间之前,我想知道此功能是否适用于 Skype for business online(或仅适用于内部部署)。根据这一点,我可能不得不采取不同的方法(甚至考虑本地实例)。
我现在得到的最新错误是“网络票证无效”。访问时
https://webdir2a.online.lync.com/Autodiscover/AutodiscoverService.svc/root/oauth/user?originalDomain=xxx.onmicrosoft.com
请求:
GET https://webdir2a.online.lync.com/Autodiscover/AutodiscoverService.svc/root/oauth/user?originalDomain=xxx.onmicrosoft.com HTTP/1.1
Host: webdir2a.online.lync.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
Accept: application/json
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://webdir2a.online.lync.com/Autodiscover/XFrame/XFrame.html
X-Ms-Namespace: internal
X-MS-Correlation-Id: 2096091305
Client-Request-Id: WebSDK/2096091305
X-Ms-SDK-Version: SkypeWeb/0.4.436 master sdk-samples/1.0.0
X-Ms-SDK-Session: f64bc747722c5
Authorization: Bearer cwt=AAIDHAEFAAAAAAAFF....uhmA
DNT: 1
Connection: keep-alive
回应
HTTP/1.1 500 Internal Server Error
Cache-Control: no-cache
Content-Type: text/html
X-Ms-diagnostics: 28032;source="BLU2A00EDG01.infra.lync.com";reason="The web ticket is invalid."
X-MS-Server-Fqdn: BLU2A00EDG01.infra.lync.com
X-MS-Correlation-Id: 4f9f39ed-f990-4e0f-a977-4434dd4c1e9f
client-request-id: WebSDK/2096091305
x-ms-client-request-id: 150115bb-ce84-4e0a-9560-3ed9ea215f11
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
Date: Wed, 08 Mar 2017 14:18:50 GMT
Content-Length: 1208
虽然不准确,但似乎与以下链接中的说明非常接近。
https://blogs.technet.microsoft.com/poptart/2015/01/28/ucwa-with-directors-or-multiple-pools/
我真的很感激这里的一些澄清
拉吉
【问题讨论】:
-
您使用哪种身份验证登录 SfB Online?
标签: skype-for-business skypedeveloper