title: How to login the user to an external page and redirect the user there?
body: <p>I'm currently trying to find a way to redirect the user to an external protected page, for example foo.com/dashboard. I have the user login credentials and auth cookie for the page. So my question is that how I can redirect the user to that page already logged in, so the user doesn't have to login, I do the login? I will have to add an Cookie header to the request, but it isn't possible with html.</p>
  <p>For example, my website is <code>bar.com</code> and I have the users auth cookie to <code>foo.com</code>.</p>
  <p>i want to be able to redirect the user to the dashboard</p>
  <p><code>&lt;a href=&quot;foo.com/dashboard&quot;&gt;dashboard&lt;/a&gt;</code>, but it's not possible to add a header to a html link.</p>