title: Streamlining OIDC with Identity Server 4 & Identity
body: <p>Hi I'm trying to implement an Angular5 frontend that has a Sign In page that Authenticates users using an Authentication Api. The Auth Api is built using Identity Server 4 &amp; Identity with .Net Core 2, it will then be able to use a protected APIs.</p>
  
  <p>My understanding is that I should be using OIDC with an Implicit flow to Authenticate with Identity Server from the Angular UI. It should look something like the diagram on the left. While I would like a more streamlined and native login feel more maybe something like what is on the right
  <a href="https://i.stack.imgur.com/6eMPh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6eMPh.png" alt="security flows"></a></p>
  
  <p>I'm trying to avoid the redirect from Identity Server to my apps login page and then back to the UI. Ideally what I want is to be able to POST my user credentials from Angular to Identity Server, this will get authenticated and the token &amp; claims will be returned, cutting out the flow in the Blue Box between the Login Page &amp; Identity Server. </p>
  
  <p>I plan on supporting external logins and if the user is using external authentication such as Google etc, that's fine, I'm ok with a redirect. But I want to avoid it for Users who are using my sites login.</p>
  
  <p>Sorry for the upcoming open question, but I'm at the stage whee I don't know what I don't know regarding Authentication &amp; Authorization. It is possible there is a name for what I want, I just don't know it.</p>
  
  <p>Am I using the correct technology / flow for this? How should I be implementing the type of flow I want?</p>