Call IdentityServer from FrontEnd app

My project has a structure like:

  1. AuthServer (Asp.Net Core Identity + IdentityServer4)
  2. Api (Asp.Net Core)
  3. FrontEnd (Angular 5)

How Can I login from Angular using AuthServer and username and password from AspNetUser table?

How AuthServer should generate token and return it to the Angular app?

1 answer

  • answered 2018-01-11 19:51 m3n7alsnak3

    Using this library. Here is some official documentation.

    Of course there are a lot more oidc js clients, but this one is more like an official one.