Starts in:
2 DAYS
10 HRS
46 MIN
54 SEC
Starts in:
2 D
10 H
46 M
54 S

Activities of "andmattia"

  • ABP Framework version: v5.3.1

We have some issue on a multitenant app for user admin that change user name.

We user register a new tenant an admin will be create by the backend but user can change admin user name.

I think it's not a good option because in that way for admin is not static and we can't access with impersonation.

Is it possibile to lock admin user name? Or other work around?

  • ABP Framework version: v5.3.1

Hi

we have an app with single auth server from a second app we see all log host and tenant

UPDATE

we still have an issue releted to this ticket https://support.abp.io/QA/Questions/3924/Multitenant-on-separated-IDS.

If we try to login from API on swagger is impossibile to do login because the Auth is set to base and not to tenant Auth

Hi

In my module I've a distributed event (es. new order created) so my handler catch it and write on Db the new data. Now I use my module in 2 application connected to my Bus. In this scenario I've more then 1 write process

  • one on my 1st appe
  • one on my second app

My goal is find a way to create handler for the event but enable / disable it to prevent multiple write data, which is the best way to do that?

  • ABP Framework version: v5.3.1

Hi

we have created 2 app (angular apps) and we use a single Auth server.

Our goal is from app1 move to app2 without reinsert credentials.

Our landscape is confgured in multitenant enviroment with tenant resolver, so we have

  • customer1.myapp.com -> customer1.api.myapp.com -> customer1.auth.myapp.com
  • customer1.myapp2.com -> customer1.api.myapp2.com -> customer1.auth.myapp.com
  • customer2.myapp.com -> customer2.api.myapp.com -> customer2.auth.myapp.com
  • customer2.myapp2.com -> customer2.api.myapp2.com -> customer2.auth.myapp.com

The first App use a login embedded on Angular when I click in a link that redirect to App2 I land on home but I'm not already logged in. I click the login button but I need to re enter my credentials.

Is it possibile to login directly?

UPDATE

If I go on Auth server page after login I can see all my apps but only one (the first) if I click I can go inside already loggedin the second no

UDPATE 2

I see that if I configure auth server with this options and try to login from api (https://customer1.api.myapp.com) I can't login

"SelfUrl": "https://auth.myapp.com",
...
"TenantResolver": "https://{0}.auth.myapp.com"

If I remove the tenant resolver I see the login page from auth server I need to inser manually the tenant but it works

How can I add a HangFire Dashboar to my console APP/winService?

  • ABP Framework version: v5.3.1
  • UI type: Angular
  • DB provider: EF Core

HI how can I add a recurring job at run time? and how can I remove it?

so I try to add via startup but I try to read polling intervall via appsettings.json but I can't do it

 public PollingWorker()
    {
        //_options = ServiceProvider.GetService<IOptions<Dataptions>>().Value; --> Null exception
        RecurringJobId = nameof(PollingWorker);
        CronExpression = Cron.MinuteInterval(2);
    }

  • ABP Framework version: v5.3.1
  • UI type: Angular / WinFomr
  • DB provider: EF Core * Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I try to login from winfrom using IIdentityModelAuthenticationService it works fine on host but how can I set the tenant? How can get tenat Id from name?

using (var cs = _provider.CreateScope())
                {
                    _tenant.Change(myTenantGuid, txtTenant.Text);


                    AsyncHelper.RunSync(() =>
                        _tokenManager.ObtainAccessToken(txtUser.Text, txtPassword.Text, txtUrl.Text));
                    var q = AsyncHelper.RunSync(() => _appService.GetAsync());
                   
                }
  • ABP Framework version: v5.3.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

I've configure my app in multi tenant (with tenant resolver) and replace login component with local Angular UI the problem is that when I click login I'll be redirect to IDS (mvc page in place to my local Angular UI).

My App.Component.Ts is set to:

ngOnInit() {
    this.replaceableComponentsService.add({
      key: eAccountComponents.Login,
      component: LoginComponent,
    });
    this.replaceableComponentsService.add({
      key: eAccountComponents.Register,
      component: RegisterComponent,
    });
    this.replaceableComponentsService.add({
      key: eThemeLeptonComponents.AccountLayout,
      component: AccountLayoutComponent,
    });
  }

It works fine if I don't use tenantResolver but when I switch to tenant roselver (using {0} for placeholder) local login not work

  • ABP Framework version: v5.3.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

I try to use this scenario in multi tenant env: Angular IDS API

We follow the guide https://support.abp.io/QA/Questions/1552/Better-Documentation-for-Multi-Tenant-Subdomain-Resolver but not work.

We are able to login in IDS tenant (es t1.auth.mydomain.com) and open Api in tenant (t1.api.mydomain.com) but when I try to authorize my api client the auth login url is auth.mydomain.com and not t1.auth.mydomain.com so the authentication move to host and not to correct tenant.

on appsettings.json

 For IDS
 "SelfUrl": "https://{0}.auth.mydomain.com",
 "TenantResolver": "https://{0}.auth.maydomain.com"
 


For API
 "SelfUrl": "https://api.mydomain.com",
 "TenantResolver": "https://{0}.api.maydomain.com"
 
    "AuthServer": {
        "Authority": "https://auth.maydomain.com",
        "RequireHttpsMetadata": "true",
        "SwaggerClientId": "client_Swagger",
        "SwaggerClientSecret": "1234567"
    },

on IDS ConfigService we put on top of module

       .....
        context.Services.AddAbpStrictRedirectUriValidator();
        context.Services.AddAbpClientConfigurationValidator();
        context.Services.AddAbpWildcardSubdomainCorsPolicyService();
        Configure<AbpTenantResolveOptions>(options =>
        {
            options.AddDomainTenantResolver(configuration["App:TenantResolver"]);
        });

        Configure<IdentityServerOptions>(options =>
        {
            options.IssuerUri = configuration["App:SelfUrl"];
        });
        
       ....

and on HttpApiHost

        ....
        Configure<AbpTenantResolveOptions>(options =>
        {
            options.AddDomainTenantResolver(configuration["App:TenantResolver"]);
        });
        .....

ABP 5.3.1 Anuglar

I've create a new module now I need to test in multitenant.

I switch the tenant switch on API side but when I try to create a new tenant doesn't create the admin user

Showing 21 to 30 of 39 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06