title: The skype client ， Why can't I login successfully?
body: <p>I want to call the interface of skype in my program，Implement the function of sending messages to friends, but the login is not successful，I followed Microsoft's operation documentation step by step, and I did not receive a prompt to log in successfully, nor did I receive any errors. The following is the address of the Microsoft document I refer to ： 
  <a href="https://docs.microsoft.com/zh-cn/skype-sdk/websdk/docs/getapientrysignin" rel="nofollow noreferrer">https://docs.microsoft.com/zh-cn/skype-sdk/websdk/docs/getapientrysignin</a></p>
  
  <p>Below is a screenshot of my code：</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;My Skype Web SDK app&lt;/title&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
  &lt;iframe id="xFrame" src="about:blank" style="display:none;"&gt;&lt;/iframe&gt;
  &lt;script src="https://swx.cdn.skype.com/shared/v/1.2.15/SkypeBootstrap.min.js"&gt;&lt;/script&gt;
  &lt;script&gt;
  
      Skype.initialize({ apiKey: 'a42fcebd-5b43-4b89-a065-74450fb91255' }, api =&gt; {
          var app = new api.application;
          app.signInManager.signIn ({
              username: 'yidian99880@163.com',
              password: 'password'
          }).then(() =&gt; {
              console.log("signed in as", app.personsAndGroupsManager.mePerson.displayName());
          }, err =&gt; {
              console.log("cannot sign in", err);
          });
      }, err =&gt; {
          console.log("cannot load the sdk package", err);
      });
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Below is the console output after I run：</p>
  
  <p><img src="https://i.stack.imgur.com/Y3qqI.png" alt="enter image description here"></p>
  
  <p>I configured nginx locally on my computer, modified the host file, and added the domain name in it "test.my-skype.com"</p>
  
  <p>The apikey in the code is provided in the Microsoft documentation, I can't find the entrance to apply for apikey</p>
  
  <p>If you can tell me why I can't log in to skype then it would be greatly appreciated</p>