Learn More, Pay Less!
Hurry up, ends March 14!

Activities of "liangshiwei"

Hi,

Email sent.

As a paying customer should I not have access to a GitHub or similar containing the source

You can see the difference between different licenses, account pro module is not included in personal license, but since replacing the login page is a common requirement, we can share the source code with you https://abp.io/pricing

Hi,

Unfortunately, OIDC must redirect to the authorization server.

You can register and log in to the authorization server and then start the challenge process at the Blazor server; in this way, the user does not need to enter a username and password; it automatically login and returns to the Blazor server.

For example:

public class .....HttpApiClientModule : AbpModule
{

    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        ....
        context.Services.AddHttpClientProxy<IUserAppService>("AuthServerApp");
        ....
    }
}

"RemoteServices": {
    .....
    "AuthServerApp": {
      "BaseUrl": "AuthServer URL"
    }
  },

Blazor Component: (Relevant part)

@inject IUserAppService UserAppService;
@inject NavigationManager NavigationManager;
private async Task Continue()
{
if (await GettingStartedObjValidation.ValidateAll())
    if (await GettingStartedObjValidation.ValidateAll())
    {wait CreateUser();
    await CreateUser();ext step without redirecting
    // Proceed to the next step without redirecting
    await InvokeAsync(OnNext.InvokeAsync);
    }
    }rivate async Task CreateUser()
    private async Task CreateUser()
    {ar userDto = new RegisterDto()
    var userDto = new RegisterDto()
    {serName = Model.Borrower.EmailAddress,
        UserName = Model.Borrower.EmailAddress,ess,
        EmailAddress = Model.Borrower.EmailAddress,
        Password = Model.Password,
        AppName = "MortgagePOS"
    };ait UserAppService.RegisterAndLoginAsync(userDto);
    await UserAppService.RegisterAndLoginAsync(userDto);
    
    //
    var url = NavigationManager.BaseUri.EnsureEndsWith('/') + "Account/Challenge";
    NavigationManager.NavigateTo(url, true);

Hi,

you can download the Account Pro module to get the login page.

abp get-source Volo.Abp.Account.Pro -v 8.3.1

The backend would be same for all the clients, but the UI should be dynamic

for example:

[ExposeServices(typeof(LoginModel))]
[Dependency(ReplaceServices = true)]
public class MyCustomLoginModel : OpenIddictSupportedLoginModel
{
    protected string ClientId {get;set;}

    public MyCustomLoginModel(IAuthenticationSchemeProvider schemeProvider, IOptions<AbpAccountOptions> accountOptions, IAbpRecaptchaValidatorFactory recaptchaValidatorFactory, IAccountExternalProviderAppService accountExternalProviderAppService, ICurrentPrincipalAccessor currentPrincipalAccessor, IOptions<IdentityOptions> identityOptions, IOptionsSnapshot<reCAPTCHAOptions> reCaptchaOptions, AbpOpenIddictRequestHelper openIddictRequestHelper) : base(schemeProvider, accountOptions, recaptchaValidatorFactory, accountExternalProviderAppService, currentPrincipalAccessor, identityOptions, reCaptchaOptions, openIddictRequestHelper)
    {
    }

    public override async Task<IActionResult> OnGetAsync()
    {
        var openIddictRequest = await OpenIddictRequestHelper.GetFromReturnUrlAsync(base.ReturnUrl);
        ClientId = openIddictRequest.ClientId;
        return await base.OnGetAsync();
    }
}

Login.cshtml

@page
.......
@using Qa
@model MyCustomLoginModel

......


@if(Model.ClientId == "xxxx")
{

    ....
    
}else if(Model.ClientId == "yyyy")
{
    ....
}
....


Hi,

After my check, It does not start the generate UI code command

I think the app suite is not able to find my Angular folder. Is there any configuration that I might be missing here?

That was what I think. You can check your project configuration.

you can check the logs button and go to the parent folder, open the appsettings.json file

Then you can change AngularSolutionRootPath and UiFrameworkName to the correct values, for example:

Hi,

Sorry, I didn't find anything.

Could you please share a test project with me? I will check it. thanks.

shiwei.liang@volosoft.com

Hi,

I wonder if ABP.io will look to develop c# based asynchronously so that it can be fully c# based same as what ABP suite creates code for CreateModel and UpdateModel.

Unfortunately not, because the table needs to refresh and search, need to use js to operate DOM

This is the problem, you should use version 8.0.2

<PackageReference Include="Volo.Abp.BackgroundJobs.HangFire" Version="8.2.0" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Volo.Payment.Admin.Web" Version="8.0.2" />

HI,

okay, I unserstand. I can sure that we are using the same environment machine

can you please share the projects with me? i'd like to check it. shiwei.liang@volosoft.com

As I said, you need to do this on a machine that doesn't have access to the source code for any of the commercial modules.

If a machine can't access any commercial modules(without commercial nuget source), It certainly can't build.

This is not a problem.

you can consider creating a local nuget source and copy Volo.Abp.Commercial.Core ( all needed packages ) from your nuget cache to the local nuget source.

But I recommend you to delete all about volo.abp.commerical.core package and code.

Hi,

Sorry, I didn't get it. I tried the exact same steps as you, but I can't reproduce it.

Anyway, I'll have another coworker try your steps.

Showing 761 to 770 of 6577 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on February 27, 2025, 13:05