1

I'm a nodejs beginner and I have a question about authentication.
My goal is to have an authentication based on the operative system users where the server js run.
I read many article on passport and express framework, but all require the presence of a mongoDB and it was out of scope for my problem.

So my question is:
Is it possible in nodejs to interact with OS and write an authentication module for the OS users?

oppid
  • 13
  • 4
  • which OS do you mean? – xmojmr Sep 13 '14 at 08:09
  • Linux and Windows would be the best. Or at least one of them. – oppid Sep 13 '14 at 12:16
  • Welcome to Stack Overflow. I don't know how to deal with the native authentication on Linux also I don't know if it is a good idea, but for some Windows-related points see my answer below. If you find it useful then read http://stackoverflow.com/help/someone-answers – xmojmr Sep 13 '14 at 13:58

1 Answers1

1

I don't know exactly how is it possible, but it should be possible.

Some links for Windows:

However, if you are new to Node.js then using Windows Authentication strategy for Passport.js together with some MongoDB alternative (see Stack Overflow: Lightweight Javascript DB for use in Node.js) may be an easier way to go

Community
  • 1
  • 1
xmojmr
  • 8,073
  • 5
  • 31
  • 54