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.
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.
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 Application
UI 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.
ok. : )
hi
OpenIddict do support RequireProofKeyForCodeExchange (PKCE)
Yes, https://abp.io/docs/latest/modules/openiddict#pkce https://documentation.openiddict.com/configuration/proof-key-for-code-exchange.html
I am extending Openiddict to remove public string LogoUri { get; set; } and replace it with Filetype to allow my clients to upload images by themselves, what is the best way to achieve this to upload and save images in the database? maybe:
You can add a new property. You don't need to remove the LogoUri
, just hide it in UI page.
See https://abp.io/docs/latest/framework/architecture/modularity/extending/customizing-application-modules-extending-entities
Good news.
hi
Can you share a test project to reproduce this error?
liming.ma@volosoft.com Thanks
Please share a test project. You can upload it to https://wetransfer.com/ liming.ma@volosoft.com