I've found the issue. It is requiring TenantId parameter to confirm the email. But, in my template I've removed the Tenant selection on Login Page. So, that is the reason why it is not working. I'll override the ConfirmUserModel to customize that as well.
Thank you!
It seems that is redirecting to Account/ConfirmUser, but, onGetAsync method is redirecting to Account/Login again.
Indeed. If I download a new template and I cannot reproduce the issue. But, in my project it is happening. I have merged all code from 4.3.0-rc.2 template, I don't know what I am missing. Any idea what could be wrong?
Implemented that, and added the code below as suggest by this topic: https://support.abp.io/QA/Questions/1100/Sessionlogin-timeout-happening-for-active-users-after-15-minutes
services.Configure<SecurityStampValidatorOptions>(options => options.ValidationInterval = TimeSpan.FromHours(24));
Running tests right now!
I am still not happy with the solution. It is taking around 8 seconds for the user to load the page, click on login and then be able to type his credential. Is there another option to open straight away the Login page instead of just redirecting it?
Ok, that is not a big deal. Cheers!
Yep, the only way to close that is by task manager and killing abp-suit.exe or closing the command prompt window.
Also, it seems that the CurrentUser.IsAuthenticated is not working properly. After login, the user is redirected to the Index page, but it get into a loop redirecting to the same page over and over again.
I've added a console message to debug it:
protected override void OnInitialized()
{
if (!CurrentUser.IsAuthenticated)
{
Console.WriteLine("Redirecting to Login");
NavigationManager.NavigateTo("/authentication/login");
}
}