Existing : aspnet webapp and dB, using aspidentity to [Authorize] on controllers
New: AspnetCore app, how to use the 'old' aspidentity DB to Authorize?
Existing : aspnet webapp and dB, using aspidentity to [Authorize] on controllers
New: AspnetCore app, how to use the 'old' aspidentity DB to Authorize?
AspNet solution:
DB update: https://github.com/CK159/CoreXplore/tree/master/Db/Migrations/Identity2Core
Add migration for new columns.
ConcurrencyStamp = System.Guid.New();
NormalizedEmail = Email.Upper();
NormalizedUserName = Email.Upper();
AspNetCore solution:
services.Configure<PasswordHasherOptions>(o => o.CompatibilityMode = PasswordHasherCompatibilityMode.IdentityV2);