title: How can i redirect to an Angular router link with oauth2 login?
body: <p>I want to make an oauth2 login with Twitch on my website and I have an angular2 website and I'm working with router links.
  When I want to log me in with twitch acc to say yes it is me and so everything is fine. Ok the end not xD</p>
  
  <p>When i go to the twitch oauth2 for authorizing i need an redirectUri. My problem is now how can i make this in angular2? Because I can't type www.page.com/app/afterlogin/afterlogin.php or somethink like that.</p>
  
  <p>I need this because I need from the user the access token, I dont want that he need to authorize himself x times. </p>
  
  <p>Maybe this helps for helping me:</p>
  
  <pre><code>https://api.twitch.tv/kraken/oauth2/authorize?client_id=[client_id]&amp;redirect_uri=http://www.page.com/app/AfterLogin/afterlogin.php&amp;response_type=code&amp;scope=user_read
  </code></pre>
  
  <p>I hope someone can help me with redirecting and some oauth2 logins :)</p>