I use Identity Server in an Angular project (based on .NET Core) and when clicking Login button on our Angular page it redirects us to a login page that seems to belong to Identity Server on https://localhost:5001/Identity/Account/Login? url. I have look at many pages on Angular and View sides in my project, but there is not a page (razor or html) that seems to be similar to this default login page.
So, my questions are:
1. Where is this login page exactly? Is it embedded to our app, or is it hosted in IdentityServer?
2. How can I use a custom Angular page instead of this page?
Advertisement
Answer
its hosted in IdentityServer and you can find the source code for it here
or in the Quickstart folder in your IdentityServer project. This is for the official IdentityServer UI.
The thing you might refer to is the UI for ASP.NET Identity, that has its own set of UI components and that one is distributed as part of the ASP.NET Identity NuGet package (as a Razor Class Library .DLL). So that’s why you might not see the views and controllers in your project. The source for the package is here .
See this blog post for details