Nest framework with LDAP Passport authentication example.
Created by Simon Brännström.
yarn
yarn run start
curl --request POST \
--url http://localhost:3000/ldap \
--header 'Content-Type: application/json' \
--data '{"username": "gauss", "password": "password"}'
{"dn":"uid=gauss,dc=example,dc=com","controls":[],"objectClass":["inetOrgPerson","organizationalPerson","person","top"],"cn":"Carl Friedrich Gauss","sn":"Gauss","uid":"gauss","mail":"gauss@ldap.forumsys.com"}
# watch mode
$ yarn run start:dev
Created by Simon Brännström January 2020.
Nest is MIT licensed.