Activities of "liangshiwei"

Hi,

This is a big question, it takes a lot of effort to do this.

Here are some of my suggestions(just an idea):

  1. JWT cannot be changed, it is designed to be immutable.
  2. When you change the tenant, the current user must also change
  3. You can provide a Http API and use code to get Token.
  4. Replace token in local storage in angular code.
  5. Refresh the page to get the application configuration

Hi,

See https://github.com/abpframework/abp/pull/7333, You can use the ConfigureAll method in v4.3

Hi,

May be you can get the new token on the server side and replace the token in the browser local storage.

Hi,

Yes, the JsTreeScriptContributor depends on jquery. try:

options
    .ScriptBundles
    .Configure(typeof(Volo.Abp.Identity.Web.Pages.Identity.Users.IndexModel).FullName, bundle =>
    {

        bundle.AddContributors(typeof(RemoveJqueryScriptContributor));
    });

options
    .ScriptBundles
    .Configure(typeof(Volo.Abp.Identity.Web.Pages.Identity.OrganizationUnits.IndexModel).FullName, bundle =>
    {

        bundle.AddContributors(typeof(RemoveJqueryScriptContributor));
    });

Hi,

Unfortunately, it is currently not possible. The tenant must be determined before logging in.

Hi,

ABP allows you to switch current tenants within the scope: https://docs.abp.io/en/abp/latest/Multi-Tenancy#change-the-current-tenant.

See https://docs.abp.io/en/abp/latest/Emailing#nullemailsender

Answer

Hi,

The core code of the migration service is in the domain layer: <YourProjectName>DbMigrationService.

You can inject and use migration services in your code

If you don' need to send email. you can use the NullEmailSender.

Try:

context.Services.Replace(ServiceDescriptor.Singleton<IEmailSender, NullEmailSender>());

Create the below extension in your *.HttpApi.Host project.

See https://community.abp.io/articles/patch-for-chrome-login-issue-identityserver4-samesite-cookie-problem-weypwp3n

Showing 5271 to 5280 of 5960 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11