Learn More, Pay Less!
Limited Time Offer!

Activities of "maliming"

Answer

hi

The list arekey-value of timezone. But you can get DST info by TZConvert https://github.com/mattjohnsonpint/TimeZoneConverter

var timeZoneInfo = TZConvert.GetTimeZoneInfo("Central Europe Standard Time");
Time Zone Name: (UTC+01:00) Central European Time (Budapest)
Time Zone ID: Europe/Budapest
Standard Time Offset: 01:00:00

..///
Effective Period: 2024/3/31 - 2024/10/27
Daylight Saving Offset: 01:00:00
Start: System.TimeZoneInfo+TransitionTime
End: System.TimeZoneInfo+TransitionTime
Effective Period: 2025/3/30 - 2025/10/26
Daylight Saving Offset: 01:00:00
Start: System.TimeZoneInfo+TransitionTime
End: System.TimeZoneInfo+TransitionTime
..///
Answer

hi

I think they only are time offset with UTC.

eg: UTC-5, UTC+3, UTC+8

Answer

hi

Does your timezone capability support DST feature? Could you please confirm?

ABP timezone is just a setting. The user or system can set it.

You have to add code to convert UTC to DST.

  1. All date time from the backend is UTC .
  2. Get the user's current timezone.
  3. check if the timezone is DST.
  4. convert UTC time to user timezone and add or subtract a few hours based on DST info.

hi

This will be fixed in next patch version(9.0.4)

https://github.com/abpframework/abp/pull/21841

hi

i get an http 400 error on the angular app.

Can you share a screenshot of this error?

Please share the Logs.txt of your API or AuthServer websites.

liming.ma@volosoft.com

Thanks.

hi

how can I achieve the security feature Manual-Ltd https://www.rfc-editor.org/rfc/rfc8705

I'm not proficient in this. If you have any questions/problems about openiddict, you can leave a message here.

Thanks.

Answer

hi

You can set Clock to UTC, after that all data time will be UTC, then you can convert the UTC time to the user's timezone.

If the user doesn't set the time zone, you can get the current time zone from the browser.

Configure<AbpClockOptions>(options =>
{
    options.Kind = DateTimeKind.Utc;
});

hi

PKCE is enabled by default in openiddict. so you don't need add any code.

If you want to force the client and server to use PKCE.

  1. Proof Key for Code Exchange can be enforced globally by calling options.RequireProofKeyForCodeExchange() in the server options:
public override void PreConfigureServices(ServiceConfigurationContext context)
{
    PreConfigure<OpenIddictBuilder>(builder =>
    {
        builder.AddValidation(options =>
        {
            options.AddAudiences("MyProjectName");
            options.UseLocalServer();
            options.UseAspNetCore();
        });
    });

    //Proof Key for Code Exchange can be enforced globally by calling options.RequireProofKeyForCodeExchange() in the server options:
    PreConfigure<OpenIddictServerBuilder>(serverBuilder =>
    {
        serverBuilder.RequireProofKeyForCodeExchange());
    });
}

Update the requiredments for your client application, We will add enable/disable option in ApplicationUI page in next version

//B3E5E483-1B83-C653-39E6-3A174BE73792 is your client id
UPDATE [dbo].[OpenIddictApplications] SET [Requirements] = N'["ft:pkce"]' WHERE [Id] = 'B3E5E483-1B83-C653-39E6-3A174BE73792'

React-native already set usePKCE: true MAUI uses OidcClient and it always does PKCE.


Could you please help me with the code to add upload to save images in db and show them in the Application Index Page, what is the correct type to save the image (basically it's an Icone), I tried to create similar in ABP suite, but it creates a Guid property for image 🤷‍♂️

Can you create a new question for this?

Thanks.

Thanks. I will find a solution.

hi

Can you update your Studio to 0.9.19 and try again?

Thanks.

Showing 161 to 170 of 9067 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on February 17, 2025, 05:40