Activities of "nhontran"

Hi @maliming,

I have shared you the source code via email.

Client:

Api Resources:

Api scopes:

Identity Resources:

Please let me know if you require any further info.

Thanks

  • ABP Framework version: v5.2.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Auth Server Separated (for Angular): yes

Hi, we are using Identity Server 4 and have a custom claim called 'institution_id,' which we have included in the access token by adding it to the ApiResourcesClaims.

However, this claim does not appear in the id_token, and we need it to be included. Any customization needed to achieve this?

Your help would be greatly appreciated.

Hi maliming,

ok, noted on this. Thanks for your support.

Hi maliming,

Thanks for the fix, it is working now.

But may I know why do we need the AddHangfireServer? it is not included in the documentation: https://docs.abp.io/en/abp/latest/Background-Jobs-Hangfire

Hi maliming,

No errors appear in the logs, but I noticed that there is no step for starting Hangfire:

[22:43:16 INF] Start installing Hangfire SQL objects... [22:43:16 INF] Hangfire SQL objects installed. [22:43:30 INF] Starting IdentityServer4 version 4.1.2+997a6cdd643e46cd5762b710c4ddc43574cbec2e [22:43:32 INF] Using the default authentication scheme Identity.Application for IdentityServer

Btw, I have shared the source code with you via email, could you please help us check.

Thank you.

  • ABP Framework version: v5.2.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hi, I tried to add the hangfire background job to our identity server, but I encountered an issue that no active servers in the hangfire, below is the screenshot:

and here is the background job module:

[DependsOn(
        typeof(AbpBackgroundJobsAbstractionsModule),
        typeof(AbpBackgroundJobsHangfireModule)
    )]
    public class IdentityServerBackgroundJobsModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            var configuration = context.Services.GetConfiguration();

            var connectionString = configuration.GetConnectionString("Default");
            context.Services.AddHangfire(config =>
            {
                config.UseSqlServerStorage(connectionString, new Hangfire.SqlServer.SqlServerStorageOptions()
                {
                    SchemaName = "Hangfire"
                });
            });
        }

        public override void OnApplicationInitialization(ApplicationInitializationContext context)
        {
            var app = context.GetApplicationBuilder();
            var configuration = context.GetConfiguration();

            app.UseHangfireDashboard();

            ConfireHangfireJobs(configuration);
        }

        private void ConfireHangfireJobs(IConfiguration configuration)
        {
            // remove all the jobs if exist
            using (var connection = JobStorage.Current.GetConnection())
            {
                foreach (var recurringJob in StorageConnectionExtensions.GetRecurringJobs(connection))
                {
                    RecurringJob.RemoveIfExists(recurringJob.Id);
                }
            }

            // add new job
            if (Convert.ToBoolean(configuration["RecurringJobs:HousekeepingJob:IsActive"]))
            {
                RecurringJob.AddOrUpdate<HousekeepingJob>(s => s.ExecuteAsync(), configuration["RecurringJobs:HousekeepingJob:CronSchedule"]);
            }
        }
    }

Any help would be greatly appreciated.

Hi, We want to try the File Management module in ABP commercial demo site but the "Upload Files" does not response when I clicked it.

https://commercial-demo.abp.io/file-management

Anyone can help us check?

Hi, I managed to override it already. Thanks

Hi @liangshiwei, I just tried it but it does not work, I feel the cookie is created at the front-end side (Angular) isn't it? I found these lines of code in angular:

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