An express middleware to have simple NTLM-authentication in node.js.
Questions tagged [express-ntlm]
14 questions
3
votes
0 answers
\[express-ntlm\] No Authorization header present
I try to implement ntlm to ensure a user is in a certain ActiveDirectory-group in order to know if he's allowed to view the content or not. He should not have to login himself in if he has a user account which is in the ActiveDirectory.
I'm new to…

Robin Aegerter
- 457
- 3
- 16
2
votes
1 answer
How to implement username/password auth with express ntlm?
I am trying to implement username and password auth with Express-ntlm.I have added below code as middleware
app.use( ntlm({
domain: '',
domaincontroller: '',
}));
I am not providing any user name password in the request and…

Meher Chandan
- 96
- 5
1
vote
0 answers
express-ntlm: how to get additional attribute value in req.ntlm?
In express-ntlm package i have added password attribute but i'm not able to get its value while i provide in private window of chrome. I always getting empty value.
My code is:
/* jshint node:true */
// node.js modules
var url = require('url');
//…

KARTHIKEYAN.A
- 18,210
- 6
- 124
- 133
1
vote
0 answers
express-ntlm & Firefox or Edge: ID/ password are not checked
I implemented "express-ntlm" on my NodeJS server for to provide SSO login.
It run well with Chrome: user's login and password are validated by the navigator...
But with Firefox or Edge, it seems there is no check: you can enter any user login and a…

Didier68
- 1,027
- 12
- 26
1
vote
1 answer
Use express-ntlm authentication to auth to TFS api
Using express and express-ntlm, how can I create an http://localhost:3000/api/bug/ endpoint that creates a bug for me in TFS by hitting the TFS api?
I can do this using request-ntlm-promise right now and this is how I do it.
const ntlm =…

gh0st
- 1,653
- 3
- 27
- 59
0
votes
1 answer
Get NTLM Token from AD Credentials
In my express API I have user's AD username and password but I need to somehow get an NTLM token to call another API. Is there any node module that can help with this? Is this something that can be easily accomplished or must the token come from the…

JavaBeast
- 766
- 3
- 11
- 28
0
votes
1 answer
nodejs ntlm get a user's groups
I am using express-ntlm. The authentication with the domain controller is working fine. But I need to get authenticated user's group details. Actually a particular group will be authorised.
I found some examples example 1example 2
But it seems using…

masum7
- 822
- 6
- 17
0
votes
1 answer
Express NTLM Error when parsing Authorization header
I posted a question here but after some investigation I have realised it wasn't my axios request that was causing the issue. I'm not sure how to close a question sorry.
I am receiving the following error when trying to send an Axios Get request to…

DaveManchap
- 21
- 3
0
votes
2 answers
Disable default sign in prompt while using ntlm passthrough technique in express-ntlm
I am using following code in express-ntlm to get workstation details in my node.js app:
var express = require('express'),
ntlm = require('express-ntlm');
var app = express();
app.use(ntlm());
app.all('*', function(request, response)…

howard roark
- 628
- 7
- 27
0
votes
1 answer
express-ntlm returning the wrong user
I'm using express-ntlm to get the current user's windows ID in an intranet setting. It works fine most of the time, but occasionally it will return the ID of a completely different person. I'm guessing this is something to do with sessions maybe?…

Kieran Quinn
- 1,085
- 2
- 22
- 49
0
votes
1 answer
Redirection not working on Safari and Firefox
I'm using express-ntlm for authenticate my users on my app. For Mac OS, browsers ask for username and password and when a user insert a wrong password, it shows a page with a forbidden message. I overwrite forbidden function on my custom library so…

Daniel Rios
- 17
- 1
- 9
0
votes
0 answers
how can i authenticate NTLM with domail controller in node.js
as you know NTLM authenticate has following step:
(Interactive authentication only) A user accesses a client computer and provides a domain name, user name, and password. The client computes a cryptographic hash of the password and discards the…

hossein derakhshan
- 771
- 2
- 10
- 23
0
votes
1 answer
how to use fiddler to debug ntlm protocol with chrome?
this is a question related to how to use express-ntlm to get windows user name without authentication using NODE.js?
I am trying to find a way to grab visitor windows user name without going through real ntlm authentication, and I just want to…

sqr
- 365
- 2
- 12
- 29
0
votes
1 answer
how to use express-ntlm to get windows user name without authentication using NODE.js?
I am trying to use express-ntlm to get windows user name without authentication.
in my app.js, i put the following:
var app = express();
// view engine setup
app.set('views', path.join(__dirname, 'views'));
app.set('view engine',…

sqr
- 365
- 2
- 12
- 29