Skip to content

Instantly share code, notes, and snippets.

@gokulraja
Forked from Harish2997/express_ntlm.js
Created May 13, 2020 12:42
Show Gist options
  • Save gokulraja/899dd15f7c11a8cb7e814aae62c785c4 to your computer and use it in GitHub Desktop.
Save gokulraja/899dd15f7c11a8cb7e814aae62c785c4 to your computer and use it in GitHub Desktop.
Express-ntlm to get user details
var express = require('express'),
ntlm = require('express-ntlm');
var app = express();
app.use(ntlm());
app.all('*', function(request, response) {
response.end(JSON.stringify(request.ntlm)); });
app.listen(9000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment