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

[question] express-ntlm prompting for login with https but not with http #87

Open
lakam99 opened this issue Apr 6, 2022 · 2 comments
Open

Comments

@lakam99
Copy link

lakam99 commented Apr 6, 2022

Hi,

I'm not sure if this is an issue or not so I've marked it as a question. I've created an express API endpoint and use express-ntlm to authenticate internal windows users. When I use express-ntlm with HTTP, there is no prompt for login. However, when I use HTTPS, the windows login prompt appears on my website to authenticate for the endpoint. How can I get the windows authentication prompt to not appear and get the same authentication functionality with HTTPS as HTTP?

Thanks in advance

@einfallstoll
Copy link
Owner

I never heard about this behavior before. What browser are you using? Can you show a screenshot of the login screen that pops up? Where and how is the TLS layer implemented?

@lakam99
Copy link
Author

lakam99 commented Apr 7, 2022

Hey, thanks for the reply. Here are screenshots of the problem on chrome and edge.
Chrome:
chrome
Edge:
edge-1
Code:
code

I'll also admit I don't know much about TLS, especially how it's implemented. I hope the screenshot of the express-ntlm and certificate implementation will give you a good enough picture. Let me know if you need additional details.

Many thanks

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

No branches or pull requests

2 participants