Activities of "Leonardo.Willrich"

I just create a new project using ABP Suite, Blazor WASM, EF, Postgre, no mobile, and any check-box checked. Then I've run the dbmigrator, the host and blazor application, I've created a new tenant, and when login in this new tenant, clicking over Administration > Settings, the page is not loaded.

If you want I can send you my project. I've just did some customization in the project, but it is pretty much empty yet.

Hi liangshiwei,

For me, this question is still opened. I need to know if there is a way to redirect the login page straightaway bypassing the Index page. Is that possible or not? Did you access the site https://avalancheocp.tvdinc.com/ to check the render effect when rendering Index and then navigating to Login page?

Hi, any progress on this question? Did I make myself clear? Does that make sense?

Hi, any progress on this?

Hi yeakalkan,

It is ok if they stay at the bottom, but, how can I create an order/sequence for the new 4 fields. Every time they are displayed in a different sequence. I don't mind if they stay on the bottom, so, I don't see any reason to extend TenantManagement.razor. I just need a property when configuring the extra properties to say the order for the create/edit form and the grid. There is no property for that.

I haven't change the source code, see how it is displaying now:

Ok, I'll follow that. Apart from using the Index page to redirect, is there another way to set that startup page?

I would like to go straightaway to the Login page and avoid that visual effect rendering Index page and then Login page, is that possible?

You cannot do this in the blazor front end, because in blazor applications, a refresh will reload the application(it will be slow). This solution should work: https://support.abp.io/QA/Questions/1152#answer-d2e834e0-4600-d3d0-eb47-39fbdb7edfc7

And:

Can you please try again to access https://avalancheocp.tvdinc.com/. I had stopped the server to do an update.

The issue with CurrentUser was fixed on version 4.3.0. In principle, it is working, however, the user not is redirect directly to the login page and it is rendering the Index page first and then navigating to the Login page. I would like to go straightaway to the Login page and avoid that visual effect rendering Index page and then Login page, is that possible? Access https://avalancheocp.tvdin.com and you will see what I am talking about.

When accessing the page, it is still redirecting to Index.razor. I'm waiting for the CurrentTenant.Id == null issue to be fixed to be able to test with the solution proposed on the first answer.

The solution above has worked partially. To redirect directly, I've just changed the return to be a Redirect. See the code below:

public override Task<IActionResult> OnGetAsync()
        {
            var blazorUrl = Configuration["App:BlazorUrl"];
            var selfUrl = Configuration["App:SelfUrl"];

            if (PostLogoutRedirectUri.StartsWith(blazorUrl))
            {
                PostLogoutRedirectUri = $"{selfUrl}/account/login?returnUrl={blazorUrl}";
                SignOutIframeUrl = null;
            }

            return Task.FromResult<IActionResult>(Redirect(PostLogoutRedirectUri));
            //return base.OnGetAsync();
        }
Showing 91 to 100 of 145 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30