2017-03-08 46 views
0

我試圖讓匿名加入到使用樣本會議工作在匿名會議加入 - Skype的在線業務

https://github.com/OfficeDev/skype-docs/tree/master/Skype/WebSDK

我設法對本地主機IIS樣品的運行實例和大部分除了上面的功能外,功能看起來很好請注意,我對Azure AD/Office 365進行了身份驗證。

我確實遇到過幾個我曾經工作過的問題。例如,我遇到了「服務不允許來自此源的跨域請求」,我暫時使用fiddler過濾器來修補以除去X-Ms-Origin標頭。

在我花費太多時間之前,我想知道該功能是否適用於Skype在線業務(或僅用於內部部署)。取決於我可能需要採取不同的方法(甚至考慮在本地實例)。

我現在得到的最新錯誤是「網絡票證無效」。在訪問

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/

我真的很感激這裏

一些澄清拉吉

+0

您使用哪種身份驗證登錄SfB Online? – Venky

回答

0

你是否有問題驗證對Skype的在線業務的最終用戶,創建匿名會議URL,或別的東西。 ..? Skype for Business Online的身份驗證過程與內部部署版本不同。

+0

我能夠根據Skype for business來驗證最終用戶並創建會議網址。只是我無法參加這個會議(原文中的錯誤出現)。值得注意的是,在Skype for business的github樣本中,從構建中排除了構成惡意連接的樣本(這讓我懷疑這在非本地安裝中不完全支持) – user007