Activities of "DuHK"

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?

Thanks in advance!

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!

Showing 1 to 2 of 2 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 16, 2025, 09:09
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.