title: From IdentityServer3 successful login, how to automatically call WebAPi (MVC 5 Framework 4.8), without the physical click of the Call API button?
body: <p>I've just started trying to set up IdentityServer3 on MVC5 app (latest framework).
  The demo has a button to call the API, but I want to if the login is successful, automatically call the js function which does an ajax call back to my api.
  The manager class has </p>
  
  <pre><code>.signinpopup() 
  </code></pre>
  
  <p>and </p>
  
  <pre><code>.catch(function(error) { ..}
  </code></pre>
  
  <p>but does not support </p>
  
  <pre><code>.success(function(){…}
  </code></pre>
  
  <p>Is there some way of doing it from js , or is that handled by the server?, possibly in it's Client settings, maybe RedirectUris ?</p>
  
  <p>Many thanks</p>