Activities of "maliming"

hi

You can inject the ILanguageTextRepository to maintain(get/set) your localization info.

Answer

hi

You can try that:

app.Use(async (httpContext, next) =>
{
    if (!httpContext.Request.Path.ToString().Contains("account/login"))
    {
        if (httpContext.User.Identity is not { IsAuthenticated: true })
        {
            ///crm-aday-details?adayId=4503#0
            var path = httpContext.Request.GetEncodedPathAndQuery();
            if (path.IsNullOrWhiteSpace() || path == "/")
            {
                httpContext.Response.Redirect("/account/login");
            }
            else
            {
                httpContext.Response.Redirect("/account/login?returnUrl=" + path);
            }

            return;
        }
    }

    await next();
});
Answer
var yourPage = get page(querystring) from httpcontext
httpContext.Response.Redirect("/account/login?returnUrl=" + yourPage);

Thank you for the information. I will check it out in depth.

ok, I will check it.

Answer

hi

You can use the URL like: https://localhost:44309/account/login?returnUrl=/MyPage The returnUrl parameter can do this.

hi

I have checked the logs. There is no problem with the authserver website.

The Android app doesn't send the authorization_code request like IOS does.

So this is a client problem. Can you check if there are any client logs?

👍

hi

When the application starts to be used, predetermined tenants are automatically added

You can add an IDataSeedContributor to add the predetermined tenants.

https://docs.abp.io/en/abp/latest/Data-Seeding

no tenants can be added later.

To prevent this, you can disable the SaasHostPermissions permissions. This means no one can call the API to create new tenants.

https://docs.abp.io/api-docs/commercial/8.0/api/Volo.Saas.Host.SaasHostPermissions.Tenants.html

public static class SaasHostPermissions
{
    public const string GroupName = "Saas";

    public static class Tenants
    {
        public const string Default = GroupName + ".Tenants";
        public const string Create = Default + ".Create";
        public const string Update = Default + ".Update";
        public const string Delete = Default + ".Delete";
        //...
    }
}

hi

Can you try to create a _ViewImports.cshtml file in the \aspnet-core\src\AbpAngularSample.HttpApi.Host\Themes\ folder?

@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bootstrap
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bundling
Showing 6211 to 6220 of 12925 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.8.0-preview. Updated on November 11, 2026, 08:10
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.