-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Description
Moved from #7633 by @sbsw
These pages sometimes say we should use services.AddDefaultIdentity, and sometimes services.AddIdentity. Reading between the lines, AddIdentity exposes additional options for configuring Identity. But there is no coherent description of the difference between these two methods. We really need a section early in this documentation that presents these two registration methods and information about the follow-on fluent methods that are required and/or optional.
Put a link to this comparison in:
- Content: Scaffold Identity in ASP.NET Core projects
- Content Source: aspnetcore/security/authentication/scaffold-identity.md
Per Hao
AddDefaultIdentity is just syntactic sugar for the old code that used to be in startup + AddDefaultUI, whatever you are trying to do,
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: d3ac09f0-74ca-1a5d-4fec-695b84c1ac95
- Version Independent ID: cd2c1f5e-e4f0-d2c3-4737-8ff4f0c176c2
- Content: Configure ASP.NET Core Identity
- Content Source: aspnetcore/security/authentication/identity-configuration.md
- Product: aspnet-core
- GitHub Login: @AdrienTorris
- Microsoft Alias: riande