Open wootapa opened 2 weeks ago
It would help if you could pass the serviceprovider when calling configureClientCertificate here: https://github.com/ActiveLogin/ActiveLogin.Authentication/blob/aafc9ce5123cca7331a2064938c824aa31513f2f/src/ActiveLogin.Authentication.BankId.Core/IBankIdBuilderExtensions.cs#L40-L51
configureClientCertificate
We can then resolve our own services to provide a certificate
opts.UseClientCertificate(sp => { var file = await sp.GetRequiredService<MyService>().GetFile("path"); return new X509Certificate2(file, "password"); });
It would help if you could pass the serviceprovider when calling
configureClientCertificate
here: https://github.com/ActiveLogin/ActiveLogin.Authentication/blob/aafc9ce5123cca7331a2064938c824aa31513f2f/src/ActiveLogin.Authentication.BankId.Core/IBankIdBuilderExtensions.cs#L40-L51We can then resolve our own services to provide a certificate