Search code examples
.net-coreidentityserver4spa-template

.net core angular spa templates with IdentityServer


I'm using this template: SPA Template And I want to understand how I can change layout of user registration and user login ?

Thanks and Regards, Danijel


Solution

  • Oh, It took me 2 days to find out how!

    https://learn.microsoft.com/en-us/aspnet/core/security/authentication/scaffold-identity?view=aspnetcore-3.1&tabs=netcore-cli

    In short - you need to run something like :

    dotnet aspnet-codegenerator identity --useDefaultUI
    

    That will generate all .cshtml files. From that you could unleash your html&css skills :)