feathersjs-ecosystem / feathers-authentication-ldap

LDAP authentication strategy for feathers-authentication using Passport
MIT License
19 stars 4 forks source link

No way to configure the passport "Asynchronous configuration retrieval" #30

Closed ineedbots closed 5 years ago

ineedbots commented 5 years ago

There are some instances where we need to have an asynchronous retrieval for the configuration of the LDAP settings every time we make a request.

This explains how to achieve this by passing in a function rather than an object to the new strategy's instance. https://github.com/vesse/passport-ldapauth#asynchronous-configuration-retrieval

Current there is no way to pass a function into this feathers auth strategy.

daffl commented 5 years ago

Closed via https://github.com/feathersjs-ecosystem/feathers-authentication-ldap/pull/24