NTLM authentication with Ruby and Faraday
17-Nov-2021 1287
The example how to authenticate in NTLM by curl and Faraday ruby library. Tagged with ruby, microsoft, authentication.Everyone knows how HTTP basic authentication works. A lot of services use it often. Once I happened upon with NTLM auth. Getting access was challenging, but I coped with it. After working on the task I would like to share the solution how to work with NTLM and Faraday library.For instance, with curl you can specify the user name and password for server authentication. The command looks like this: curl -u : https://resource_with_ntlm_auth.com/path_to_resource.xml -I. Unfortunately it doesn't work with NTLM. The response would be:.
NTLM authentication with Ruby and Faraday #ruby #rubydeveloper #rubyonrails #authentication #Faraday #authentication https://rubyonrails.ba/link/ntlm-authentication-with-ruby-and-faraday