Layer 7 API Management

Expand all | Collapse all

AD/LDAP LAC Authentication

  • 1.  AD/LDAP LAC Authentication

    Posted 05-20-2019 03:06 AM
      |   view attached

    Greetings,

     

    For anyone who needs to authenticate API users via LDAP and apply role permissions, the LAC documentation covers this but as of a few days ago the LDAP Auth provider javascript was taken down from EspressoLogic Github. I've found that code very useful so I'm attaching it here.

     

    I've also adapted the code and tested it with MS Active Directory, the original (SimpleLDAPAuthProvider.js) has trouble reading group membership in AD but works well with other LDAP directories (tested with CA Directory). I've provided both attached here.

    Attachment(s)



  • 2.  RE: AD/LDAP LAC Authentication

    Posted 06-11-2019 01:05 PM
    FYI,
    The original is still available here as well:

    https://github.com/EspressoLogicCafe/Examples/blob/master/SimpleLDAPAuthProvider/SimpleLDAPAuth.js