.AddTransient(Of LiteX.Sms.Core.ILiteXSmsSender, LiteX.Sms.Sinch.SinchSmsSender)(Function(provider As IServiceProvider)
Dim vault = provider.GetRequiredService(Of Domain.Security.MyVault)
Dim key = vault.Secret("sinchKey")
Dim secret = vault.Secret("sinchSecret")
Dim config = New SinchConfig() With {
.ApiKey = key,
.ApiSecret = secret,
.FromNumber = "*********",
.EnableLogging = True
}
Return New SinchSmsSender(config)
End Function)`
Not sure if I caused this to happen with my configuration. Once the SinchSmsSender
gets the configuration it throws this error.
Error happens with either versions 6.1.0 or 7.0.0. My project is .net 7.0.
I would appreciate any guidance.