IdentityServer4.Templates icon indicating copy to clipboard operation
IdentityServer4.Templates copied to clipboard

is4aspid Template causes Local Authentication to not Redirect to Client Application following successful Login

Open HuntJason opened this issue 5 years ago • 2 comments

Steps to reproduce:

  1. Install from template: dotnet new is4aspid
  2. Install UI Updates

Use Local Login with client that was successfully able to log in previously.

Application no longer redirects back to Client Application.

I was able to discover that the issue was related to the template leaving the .AddAspNetIdentity<ApplicationUser>() line in the Startup.ConfigureServices method. Removing that line (to be like that is in the Demo Site resolves the problem and returns the user to the client application following successful Local Authentication login.

HuntJason avatar Jul 10 '20 17:07 HuntJason

I should add that step 2 included updating the nuget packages for the project.

HuntJason avatar Jul 10 '20 17:07 HuntJason

Install UI Updates

Why? The template comes with the lastest UI. This is also the wrong UI for the ASP.NET Identity template

leastprivilege avatar Jul 11 '20 10:07 leastprivilege