Hi, setting SameSite as None is the default option (https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/AntiForgery/AbpAntiForgeryOptions.cs#L53-L60). So, you can leave it as it is for cross-site access.
As far as I understand, after the first request you are able to get the verification code. So, it seems by the time your JS reads XSRF-TOKEN and adds it to the header, the browser hasn't yet attached the freshly issued cookie to the request, so the tokens don't match. On your retry, the cookie is already present and everything works as expected.
Maybe you can apply the followings:
Lax: SameSite.Lax instead of SameSite.None (With None+Secure, some browsers hold off on sending the cookie until after a round-trip establishes that the site is “good.” This can cause the delay maybe) Configure<ForwardedHeadersOptions>(options =>
{
options.ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto;
});
Regards.
Regarding the loading time, it is probably exactly as you say. However, waht about the icons suddenly vanishing from all menus, and the body of the page suddenly expanding vertically?
Hi, since Blazor WebApp, first acts as a Blazor Server app and then continue as Blazor WASM application (after wasm downloaded to the browser), unfortunately, this kind of shifting happens sometimes.
but this mean that all static pages can created from admin side will made be developer as widget This means to me that the CMS kit has lost its importance in the feature of pages management ?
You can design/create your static pages from admin side, but if you want to page as localizable or dynamic, then it's suggested to design a view component and then define it in the Page Management page. Once, you define a widget, then it can be used through multiple pages in the Pages feature, so this is the current design, and to make it more dynamic, it's suggested to create widgets and use them in pages.
HI I'm using ABP v8.3 with UI using Angular with separate auth server. I have using redis in the API
Okay, thanks for the details. Since you are using a tiered solution, you should use Redis as the distributed cache server and it seems you are already running the redis-server on your PC. But sometimes there might be connection problems, or wrong configurations, so can you check that in your appsettings.json file, the Redis configuration is correct and if the configuration is correct, can you please share the logs, so I can check better?
Regards.
Yes I've tried that. As i said in my original post, I tried overriding using the docs and following the method given, but even when i create a Login.cshtml page in my Pages directory under the Blazor project, it doesnt seem to redirect the mvc route to the new page i created. Do you have any solution for this.
Hi, I've tried just before with a new blazor server solution (non-tiered), and successfully overridden the page:
Can you please confirm that you created the Login.cshtml file under the Account folder?
Hi, can you please share your project details? What is the version, is it tiered, what is the UI, do you use Redis...?
Thanks for you response but i want to add static page i mean i have page called about us i want to add as Arabic and English in my admin side cms kit page management so my web site in English display about us English and in about us Arabic display Arabic how ?
By default, unfortunately, there is no way to do that from the admin side for now. The best option you have is to create a widget on your code, and use the Page Management to add a page, and then show the page in only for Arabic and English users.
Regards.
Hi, this was a known issue and it's fixed with the new versions. Can you try v9.1.2 or 9.2.0+, please?
Hi, you can create a localizable page, but you need to use Dynamic Widgets, and define your page on code with the localized values. Then in the page management page, you can select the URL, and also select the related widget to be rendered on the page.
Regards.
Hi, this usually happens because your React Native client app is not registered properly as a public client (i.e., without a client secret) in the OpenIddict/OpenId configuration. Can you check or share your openiddict configurations?