we disabled TLS1.0 on our web server and still when we call AuthenticationApiClient we see that it use TLS1.0.
To solve this issue we added System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12; before the API call but I am wondering why it’s happening? why it doesn’t use TLS1.2 by default?
Are you certain that you have configured your server to use TLS 1.2? Have you tried with any other applications?
As far as I’m aware, the AuthenticationApiClient should use whatever you have configured as the default. It doesn’t override any settings.