OfficeDev / skype-web-sdk-samples

Other
116 stars 75 forks source link

Having odd sign-in issue #4

Open jschurman opened 8 years ago

jschurman commented 8 years ago

We have one user who can run the samples and our demos just fine, but when they sign-in to another profile on the same PC, same user, we receive the login/authentication issue/error that other individuals are complaining about when they are not using Office 365 accounts. This is, however, a tested and proven Office 365 account that works perfectly in other devices via Edge. We are also aware of the requirement for adding the URL to the Trusted Sites setting in IE as well. Attaching error message received when trying to login to the samples and our demo apps with the notorious, "Can't sign in, please check the user name and password" error. Any help would be great!

Screenshots attached, error message below in console using my own Office 365 E5 account:

HTML1300: Navigation occurred. UI HTTP401: DENIED - The requested resource requires user authentication. (XHR): GET - https://webdir1b.online.lync.com/Autodiscover/AutodiscoverService.svc/root/oauth/user SCRIPT5007: Unable to get property 'onConfigurationLoaded' of undefined or null reference 905_1.2.15.0 (1,5) code=OAuthFailed&url=https%3A%2F%2Flogin.windows.net%2Fcommon%2Foauth2%2Fauthorize%3Fresponse_type%3Dtoken%26client_id%3D1320dbff-db54-4bbb-bd90-522295aa3dea%26redirect_uri%3Dhttp%253A%252F%252Fmychartsample.azurewebsites.net%252FUI%252F%253Fauto%253D1%2526ss%253D0%2526cors%253D1%2526client_id%253D1320dbff-db54-4bbb-bd90-522295aa3dea%2526origins%253Dhttps%253A%252F%252Fwebdir.online.lync.com%252Fautodiscover%252Fautodiscoverservice.svc%252Ftoken.html%26resource%3Dhttps%253A%252F%252Fwebdir1b.online.lync.com%26state%3D10f6fc962111e8.1%26prompt%3Dnone&error=login_required&error_description=AADSTS50058%3A+User+account+identifier+is+not+provided.%0D%0ATrace+ID%3A+99e483c2-1c03-4d7b-9d9c-fa8ca2b1caf7%0D%0ACorrelation+ID%3A+df0bd932-7aa2-4e61-8304-041564c61051%0D%0ATimestamp%3A+2016-04-20+23%3A41%3A37Z&state=10f6fc962111e8.1 eval code (4) (115,13) {

  **proto**: { },
  code: "OAuthFailed",
  description: "OAuthFailed",
  error: "login_required",
  error_description: "AADSTS50058: User account identifier is not provided.

Trace ID: 99e483c2-1c03-4d7b-9d9c-fa8ca2b1caf7 Correlation ID: df0bd932-7aa2-4e61-8304-041564c61051 Timestamp: 2016-04-20 23:41:37Z", message: "OAuthFailed", name: "Error", stack: "code=OAuthFailed&url=https%3A%2F%2Flogin.windows.net%2Fcommon%2Foauth2%2Fauthorize%3Fresponse_type%3Dtoken%26client_id%3D1320dbff-db54-4bbb-bd90-522295aa3dea%26redirect_uri%3Dhttp%253A%252F%252Fmychartsample.azurewebsites.net%252FUI%252F%253Fauto%253D1%2526ss%253D0%2526cors%253D1%2526client_id%253D1320dbff-db54-4bbb-bd90-522295aa3dea%2526origins%253Dhttps%253A%252F%252Fwebdir.online.lync.com%252Fautodiscover%252Fautodiscoverservice.svc%252Ftoken.html%26resource%3Dhttps%253A%252F%252Fwebdir1b.online.lync.com%26state%3D10f6fc962111e8.1%26prompt%3Dnone&error=login_required&error_description=AADSTS50058%3A+User+account+identifier+is+not+provided.%0D%0ATrace+ID%3A+99e483c2-1c03-4d7b-9d9c-fa8ca2b1caf7%0D%0ACorrelation+ID%3A+df0bd932-7aa2-4e61-8304-041564c61051%0D%0ATimestamp%3A+2016-04-20+23%3A41%3A37Z&state=10f6fc962111e8.1 at Task.prototype.exec2 (https://latest-swx.cdn.skype.com/jLync/master_0.4.155/sdk.js:4427:29) at Task.prototype.exec (https://latest-swx.cdn.skype.com/jLync/master_0.4.155/sdk.js:4403:21) at Anonymous function (https://latest-swx.cdn.skype.com/jLync/master_0.4.155/sdk.js:3865:50)", state: "10f6fc962111e8.1", url: "https://login.windows.net/common/oauth2/authorize?response_type=token&client_id=1320dbff-db54-4bbb-bd90-522295aa3dea&redirect_uri=http%3A%2F%2Fmychartsample.azurewebsites.net%2FUI%2F%3Fauto%3D1%26ss%3D0%26cors%3D1%26client_id%3D1320dbff-db54-4bbb-bd90-522295aa3dea%26origins%3Dhttps%3A%2F%2Fwebdir.online.lync.com%2Fautodiscover%2Fautodiscoverservice.svc%2Ftoken.html&resource=https%3A%2F%2Fwebdir1b.online.lync.com&state=10f6fc962111e8.1&prompt=none" } 2016-04-20_18-41-53 2016-04-20_18-42-10