Identity: IdentityOptions
should be inside an IOptionsSnapshot
#55162
Labels
area-identity
Includes: Identity and providers
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
Milestone
Is there an existing issue for this?
Describe the bug
If the user changes at runtime the
IdentityOptions
the changes are not reflected.Expected Behavior
Changed
IdentityOptions
should be reflected.Steps To Reproduce
dotnet new mvc --auth Individual
.Program.cs
PasswordOptions
. atappsettings.json
or another configuration source.Exceptions (if any)
No response
.NET Version
8.0.204
Anything else?
The cause is this constructor, it should be
IOptionsSnapshot
aspnetcore/src/Identity/Extensions.Core/src/UserManager.cs
Line 70 in b83e1e1
The text was updated successfully, but these errors were encountered: