Activities of "yasin.hallak.89@gmail.com"

  • ABP Framework version: v7.0.0
  • UI type: MVC
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): no

Hi Support.

We have senario self-registeration tenant.

We want to SignIn tenant Immediately after self-registeration.

We set configure for DomainTenantResolver as below:

  Configure<AbpTenantResolveOptions>(options =>
      {
             options.AddDomainTenantResolver("{0}.MyDomain.com");
      });

and here our method to achive self-registeration and SignIn Immediately to MyDomain.com as below:

   public  async Task<IActionResult> OnPostAsync()
        {
            ValidateModel();

            var input = ObjectMapper.Map<TenantSignUpViewModel, SaasTenantCreateDto>(ViewModel);
            try
            {
                await SetUseCaptchaAsync();

                var tenantDto = await CustomeTenantAppService.CreateAsync(input,IsInitialData);
                using (CurrentTenant.Change(tenantDto.Id))
                {
                    var user = await UserManager.FindByEmailAsync(input.AdminEmailAddress);
                    await SignInManager.SignInAsync(user, isPersistent: true);
                }
            }
            catch (BusinessException e)
            {
                Alerts.Danger(GetLocalizeExceptionMessage(e));
                return Page();
            }
            
            return RedirectSafely("/");
            
        }

But we need to SignIn to sub-domain like T1.MyDomain.com.

How we can to achive that please :)

Hi,

Just we need to change type from code-flow to the password-flow in configuration and we can login without redirect to web page ?.

No, you need to create your own login page.

And update ExternalAuthService to use password flow instead of oidcClient

Hi,

I didn't find any where within OicdClinet to set grantType password flow

Could you write some hints or steps to change to password flow Please

Hi,

Yes, you can.

We use code flow by default, but if you want, you can use the password flow

You can check this to know how to get access token with password flow:https://github.com/abpframework/abp/blob/dev/templates/module/aspnet-core/test/MyCompanyName.MyProjectName.HttpApi.Client.ConsoleTestApp/ClientDemoService.cs#L61-L69

Thanx.

Just we need to change type from code-flow to the password-flow in configuration and we can login without redirect to web page ?.

Or we need to do some other changes in code ?

Can I login with mobile without redirect to web page ?

Could you try to run it in an emulator? As you know, I can't operate your physical device in the meeting, it's hard to find the problem

Now it's work for me , I have Updated Operating System and reinstall Visual Studio

It's strange !!! . I have created new project without ABP It works well.

Hi,

I'd like to check it remotely, can we have a meeting? shiwei.liang@volosoft.com

Yes we can I sent you invitation on google meet

  • ABP Framework version: v7.0.0
  • UI type:Maui Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:

An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module Volo.Abp.AspNetCore.Components.MauiBlazor.AbpAspNetCoreComponentsMauiBlazorModule, Volo.Abp.AspNetCore.Components.MauiBlazor, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null: Cannot invoke JavaScript outside of a WebView context.

  • Steps to reproduce the issue:"

Hi support.

I have created project with Ui MauiBlazor from abp suite.

First : I run HttpApi.Host project.

Second: I run MauiBlazor project as andriod emulator and give me this error as above.

Can you give me some solution please

abp-application-layout

Hi.

the body does not have abp-application-layout .

My theme leptonX

Hi maliming

I think there is issue in file chatMessageReceiving in chat Module

When I removed this condition $('body').hasClass('abp-application-layout')

It works well and connected as below :

Showing 21 to 30 of 110 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11