Activities of "maliming"

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

hi

We use JSON file to store localization texts by default.

The language management module will store the change in the database. But the json files still work.

https://commercial.abp.io/modules/Volo.LanguageManagement https://docs.abp.io/en/commercial/latest/modules/language-management

Showing 4851 to 4860 of 11568 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 25, 2025, 06:16
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.