Hi, I have separated my solution into two independent projects:
Application UI (Blazor WebApp) for handling the frontend
Backend API & AuthServer for backend logic and authentication
Both projects run successfully. When I attempt to log in from the Application UI, it redirects me correctly to the AuthServer for authentication. However, after completing the login process, it redirects back to the UI but the user is still not logged in.
It seems like the login state is not preserved or there might be a misconfiguration in the redirection or cookie/token handling.
Can someone help me identify what might be missing or misconfigured in this scenario?
Hi ABP Support Team,
I am using ABP Blazor Web App version 9.1.0 with PostgreSQL and EF Core. I want to implement the "force password change on next login" flow using ResetPasswordAsync and GeneratePasswordResetTokenAsync from IdentityUserManager. However, I always get the following error when calling these methods:
System.NotSupportedException: 'No IUserTwoFactorTokenProvider<TUser> named 'Default' is registered.'
My configuration in CoreBackendHttpApiHostModule.cs:
context.Services.AddIdentity<IdentityUser, IdentityRole>() .AddEntityFrameworkStores<CoreBackendDbContext>() .AddDefaultTokenProviders();
I have installed Microsoft.AspNetCore.Identity.EntityFrameworkCore. My CoreBackendDbContext inherits from AbpDbContext<CoreBackendDbContext>. I do not have any custom User or Role classes, I am using the default IdentityUser and IdentityRole. I have cleaned and rebuilt the solution, but the error persists. The code that causes the error:
var result = await _userManager.ResetPasswordAsync(user, input.ChangePasswordToken, input.NewPassword);
What I have tried: Adding correct using statements. Ensuring only one call to AddIdentity<> exists. Registering DataProtectorTokenProvider<IdentityUser> manually – still doesn't work. Could you please advise what might be missing in my configuration, or if there is any ABP-specific requirement to enable the default token provider for password reset?
Thank you very much!


