Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NTLM authorization #12

Open
talenor opened this issue Nov 28, 2011 · 5 comments
Open

NTLM authorization #12

talenor opened this issue Nov 28, 2011 · 5 comments
Labels

Comments

@talenor
Copy link

talenor commented Nov 28, 2011

Need support Windows NTLM Authorization

@steventebrinke
Copy link

The history references NTLM in version 0.2. Is there any example on how to use NTLM?

@visoft
Copy link
Owner

visoft commented Oct 11, 2016

I, unfortunately, don't know about NTLM support currently. The project was migrated to Faraday which should allow for NTLM authorization, but I wasn't involved in the change, nor have I had a chance to really test it out, hence it's beta status.

It would be greatly appreciated if you could augment the README/code with true NTLM support. I'd recommend checking out the Faraday project for hints on how to use it with ruby_odata.

@steventebrinke
Copy link

Unfortunately, NTLM support is not well documented. I know how it works with HTTPI, but Faraday does not seem to have any documentation on how to use NTLM, even though some people mention that it should be possible.

@visoft
Copy link
Owner

visoft commented Oct 12, 2016

I've looked around and can't really find any documentation on NTLM with Faraday. The change was implemented by a contributor in this pull-request, but it wasn't fully tested out. I think it's time to re-evaluate options in terms of libraries. Personally, I liked rest-client, but it was limited in what we could do.

@steventebrinke
Copy link

Faraday is quite flexible, but not so well documented. I've patched the OData library a bit to allow reconfiguring Faraday, which allows me to use NTLM auth. I'll create a pull request so you can review my changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants