-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Add support for proxies that use NTLM/Kerberos authentication #4667
Comments
Hi, |
The plugin I've written supports endpoints with NTLM authentication. It does support an upstream proxy, but currently it does not support proxies with NTLM authentication. I haven't received any requests to implement that so far. If it would be an acceptable solution for this issue I will take a look. How do you see it @flotwig ? |
I'd like to add NTLM proxy support directly to Cypress, but I haven't been able to find a way to generate the credentials in Node.js. All the existing implementations rely on the user providing their NTLM username and password manually, which might be how we end up having to implement this. |
Agreed, I also think NTLM support should be native to Cypress - but not only for proxies but also for sites under test. But it is a fair argument to say that NTLM proxies should be supported first, since they apply to many users behind corporate proxies, regardless of what sites they are testing. When it comes to implementation, I solved it in the plugin by letting user specify the user/pass. But this is a different scenario since I wanted to give the user control of which user should authenticate for the test run. |
using cypress and running into the same NTLM authentication problem described here. could you please elaborate on this? |
We are having the same issue with cypress where the proxy requires Kerberos authentication. Afaik, there is no way to pass those authentication information. Any status about the feature where you can configure cypress to work with Kerberos? |
@richardszanyi Currently nobody is working on this feature. As a workaround, you can configure |
Is it going to work with a corporate proxy that requires kerberos auth? |
@richardszanyi I am not overly familiar with the differences between NTLM and Kerberos, sorry. Check out the "Configuration hints" section of the If you don't think |
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided. |
I'm experiencing this issue with Cypress
I haven't tried https://github.com/bjowes/cypress-ntlm-auth or https://github.com/genotrance/px so maybe one of those will fix the problem for me, but anyway I wanted to keep this issue alive since it would be nice to have Cypress support this use case out of the box. |
Current behavior:
Users attempting to use a proxy with NTLM authentication required will encounter the following error in Cypress when performing a
cy.visit
through their proxy:Desired behavior:
Cypress reads off the required NTLM/Kerberos auth strings on Windows and automatically uses them to connect to the Internet.
Versions
Cypress 3.3.2
Windows (maybe other OSes have token stores too)
Related Issues
The text was updated successfully, but these errors were encountered: