简体   繁体   中英

Unable to login to Skype Web SDK Samples

I am trying to login to Skype for business Web SDK samples downloaded from https://ucwa.skype.com

I am running samples locally( http://localhost/ ) using IIS manager windows and getting bellow error messages.

Cross domain Issue 跨域问题 Auto Discovery failure 自动发现失败 Browser Console Error 控制台错误

I have developer account in Office 365 and Azure AD account(30 days free trails account) with application created.

Kindly help me to resolve issue and help me to login to websdk samples.

Edit :

I have followed the blog from http://blog.thoughtstuff.co.uk/2016/04/how-to-run-the-new-skype-web-sdk-online-samples/ ,

In the end I got bellow errors:

Request

URL:https://webdirin1.online.lync.com/Autodiscover/AutodiscoverService.svc/root/oauth/user
Request Method:GET
Status Code:401 Unauthorized

The samples you are referencing, UCWA Helper Libraries, were not designed to support O365/Skype For Business Online accounts (only on-prem). You would need to look at the following samples that use the Skype Web SDK to get support for Online accounts:

There is no way to fix this issue with the UCWA Helper libraries without taking the time to integrate support for ADAL using something like Active Directory Authentication Library (ADAL) for JavaScript .

Why is it linked with Azure? Is there a way to login to Skype for business Web SDK samples without Azure account?

If a developer is new to Skype for business Web SDK, refer the following link: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-create-service-principal-portal This doc explains clear steps.

The application might be getting a token with its own credentials due to which the error comes up stating it is not registered for the account. Also, you may have to directly assign the application permissions. Please double check if you have assigned the right permissions to the client application for accessing the Web application Interface.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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