bjowes / cypress-ntlm-auth

Windows authentication plugin for Cypress
MIT License
54 stars 10 forks source link

Support for a node module interface? #75

Closed ewolfe closed 5 years ago

ewolfe commented 5 years ago

I run cypress via cypress.run https://docs.cypress.io/guides/guides/module-api.html#cypress-run

What would be the best way to integrate cypress-ntlm-auth into a setup that needs a node module interface?

ewolfe commented 5 years ago

It looks like dist/proxy/main.js might just need to be converted to a common js module

bjowes commented 5 years ago

Seems like a sensible improvement! If you already have a grasp on how to implement it I would gladly accept a PR. Otherwise I’ll look into this when I am done with single sign on.

bjowes commented 5 years ago

Thanks for the idea @ewolfe - this is now released!

ewolfe commented 5 years ago

Amazing, thank you!