Activities of "Leonardo.Willrich"

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?

Answer

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!

Answer

Template Blazor, Emailing settings. Password needs to be bigger than 64. SendGrid requires to use a key, which is quite longer.

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!

Through Command Prompt that releases after the second time:

Through Package Manager Controller, nothing hapenns. Even pressing CTRL + Break or the stop button.

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");
            }
        }

My console:

Showing 71 to 80 of 113 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 14, 2025, 14:54