I am trying to use the Commerce.Security.IdentityRegistrar with the CreateUser function, but when I call the code I am receiving an error that states "Constructor on type 'EPiServer.Cms.UI.AspNetIdentity.ApplicationUser' not found."
Has anybody tried to get the IdentityRegistrar working with StructureMap and ran into this error? I am on version 10.2 currently.
I hope this file will solve your issue: https://github.com/episerver/Quicksilver/blob/master/Sources/EPiServer.Reference.Commerce.Shared/Models/Identity/ApplicationUser.cs
Seems the method is looking for a constructor with username of ApplicationUser. This should probably be registered as bug. Workaround is to subclass ApplicationUser and add contructor with username.
I am trying to use the Commerce.Security.IdentityRegistrar with the CreateUser function, but when I call the code I am receiving an error that states "Constructor on type 'EPiServer.Cms.UI.AspNetIdentity.ApplicationUser' not found."
Has anybody tried to get the IdentityRegistrar working with StructureMap and ran into this error? I am on version 10.2 currently.