IdentityServer / IdentityServer4.Templates

dotnet new templates for IdentityServer4
Apache License 2.0
695 stars 229 forks source link

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

Closed HuntJason closed 1 year ago

HuntJason commented 4 years ago

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 commented 4 years ago

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

leastprivilege commented 4 years ago

Install UI Updates

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