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?

3
  • which OS do you mean? Commented Sep 13, 2014 at 8:09
  • Linux and Windows would be the best. Or at least one of them. Commented Sep 13, 2014 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 stackoverflow.com/help/someone-answers Commented Sep 13, 2014 at 13:58

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.