Hello,
I'm working on a reactive app where i want to consume an api and get files from sharepoint but to do this i need to get ntlm authentication to work as authorization.
Right now I'm only getting 401 Unauthorized in Outsystems.
When doing the Get in Postman with "NTLM Authentication" and username/password its working and i get the correct response, but in Outsystems im not getting it to work, been trying alot of things from other posts but it does not work.
Should you consume the api or expose, should i add onbeforerequest or something else? Quick explanation would be gold!
Have a nice day! :)
Hi Timmy,
First, if you can at all avoid it, don't use NTLM! It's a very old protocol and a security nightmare. So unless you use a 20-year-old version of Sharepoint, there must be a better way to authenticate yourself.
That said, NTLM authentication is a challenge/response protocol, and I'm not sure you are using the right sequence of messages to do this. I'm also not sure what Postman does, or whether it understands NTLM and does the authentication for you.
Thanks for your answer.
You where right, its not ntlm and when i used postman i thought it was the correct response but it was not and its not working.
Ok, good you found out. Let us know if there's anything we can help you with.