I had problem with login/registration pages UI looks. And problem was with lacking of app.UseStaticFiles(); in Configure method of Startup class. UI before changes: So to solve these errors we need add “app.UseStaticFiles();” in Startup.cs. Changes in Startup.cs, Configure method: UI after changes: Now it looks a little better 🙂
Tag Archives: IdentityServer
IdentityServer configuration to use it with SPA that is not hosted with IdentityServer
IdentityServer settings configuration to use it with SPA that is not hosted with IdentityServer. For example, we have client app on http://localhost:4200 and backend app on https://localhost:5001. To allow working it, we need to set/change “Profile” to “SPA”. Additional we can configure “RedirectUri” and “LogoutUri”. Backend side (.NET Core 3.1).Code snippet of appsettings.json: