Search code examples
rauthenticationkerberosrcurl

R and Windows Authentication


We have a data server set up in IIS using Windows Authentication (Kerberos). Does anyone know how to call web services (GET and POST) from R authenticating against the Windows identity?


Solution

  • Eventually, I found out how to achieve this via NTLM. It is actually simple:

    require("httr")
    GET("http://my-url",authenticate(":", ":", "ntlm"))