Ends in:
4 DAYS
16 HRS
8 MIN
35 SEC
Ends in:
4 D
16 H
8 M
35 S

Activities of "maliming"

hi

But this extension method has three arguments. You can copy the source code of this method.

using System.IO;
using System.Security.Cryptography.X509Certificates;

namespace Microsoft.Extensions.DependencyInjection;

public static class OpenIddictServerBuilderExtensions
{
    public static OpenIddictServerBuilder AddProductionEncryptionAndSigningCertificate(this OpenIddictServerBuilder builder, string fileName, string passPhrase, X509KeyStorageFlags? flag = null)
    {
        if (!File.Exists(fileName))
        {
            throw new FileNotFoundException($"Signing Certificate couldn't found: {fileName}");
        }

        var certificate = flag != null
            ? new X509Certificate2(fileName, passPhrase, flag.Value)
            : new X509Certificate2(fileName, passPhrase);

        builder.AddSigningCertificate(certificate);
        builder.AddEncryptionCertificate(certificate);
        return builder;
    }
}

hi

Try to specify the X509KeyStorageFlags

serverBuilder.AddProductionEncryptionAndSigningCertificate("openiddict.pfx", "bf6bc8cb-7dd5-43bc-beba-c5bbaf0f78a4", X509KeyStorageFlags.PersistKeySet | X509KeyStorageFlags.MachineKeySet |  X509KeyStorageFlags.EphemeralKeySet);

hi

You can use your openiddict.pfx file.

dotnet dev-certs https -v -ep openiddict.pfx -p 00000000-0000-0000-0000-000000000000

See https://abp.io/docs/latest/deployment/configuring-openiddict

hi

③ If you enter the correct user and password in tab 1 and log in, you will be able to log in. ④ If you enter the correct user and password in tab 2, you will get a 400 error.

I opened two tabs.

TabA => account/login TabB => account/login

If I sign in TabA. the TabB will redirect to home page

Can you share your step to get the 400 error?

Thanks.

hi

Can you share some screenshots and error logs?

Thanks.

hi

Can you share a template project to reproduce these two problems?

I will download and check it.

Thanks.

liming.ma@volosoft.com

hi

ABP Fremework doesn't support your case.

If you want to hide the permissions on the UI page. You can override the application service.

https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Application/Volo/Abp/PermissionManagement/PermissionAppService.cs#L0-L1

hi

Can you share the code and steps to reproduce the problem?

Thanks,

liming.ma@volosoft.com

Great

PreConfigure<OpenIddictServerBuilder> is global. And OpenId > Application is for each application/client.

Showing 211 to 220 of 8490 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 28, 2024, 07:27