title: Redirect MVC Action to Identity server 4 login page manually
body: <p>I installed Identity Server4 which works fine. I use an application Asp.Net Core MVC as a client application. I have a login action and when the user click the button I want to redirect to the identity server login page but I dont know how to do it: </p>
  
  <pre><code>public IActionResult Login()
  {
     return &lt;Redirect to identity server4 login page??? How to do?&gt;
  }
  </code></pre>
  
  <p>If I add an annotation with Authorized, it does it automatically:</p>
  
  <pre><code>[Authorized]
  public IActionResult Login()
    =&gt; Work fine, it redirect to identity server login page with lots of information passed by url
  </code></pre>
  
  <p>How to do it manually?</p>