GithubHelp home page GithubHelp logo

LDAP support about bell HOT 9 CLOSED

hapijs avatar hapijs commented on July 19, 2024
LDAP support

from bell.

Comments (9)

thegoleffect avatar thegoleffect commented on July 19, 2024

+1, also need this.

from bell.

thegoleffect avatar thegoleffect commented on July 19, 2024

to add this, it would require supporting custom/extensible protocols other than oauth1 & 2. Can we get that added in as a first step?

from bell.

hueniverse avatar hueniverse commented on July 19, 2024

If someone provides the LDAP code, I'll integrate it into the module. I'll take a gist or module with api.

from bell.

thegoleffect avatar thegoleffect commented on July 19, 2024

https://gist.github.com/thegoleffect/311b9b41e7b769b8f252 is a basic example, it requires the full dn though as the "username".

from bell.

thegoleffect avatar thegoleffect commented on July 19, 2024

for a realistic example, you'd need to have an admin user/pass passed in via config. Bind on that, then search by username (need to pass search filter/query in via config also) to get the correct full 'dn' for user. Then bind again with user dn + password.

from bell.

hueniverse avatar hueniverse commented on July 19, 2024

How does passport do it?

from bell.

josecardozo avatar josecardozo commented on July 19, 2024

Something like this?
https://github.com/vesse/passport-ldapauth/blob/master/lib/passport-ldapauth/strategy.js

from bell.

hueniverse avatar hueniverse commented on July 19, 2024

Same to assume this is not going to happen.

from bell.

lock avatar lock commented on July 19, 2024

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

from bell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.