Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 992 Bytes

README.md

File metadata and controls

48 lines (34 loc) · 992 Bytes

Nest Logo

Description

Nest framework with LDAP Passport authentication example.
Created by Simon Brännström.

Installation

yarn

Running the app (in development mode)

yarn run start

Example LDAP lookup

curl --request POST \
 --url http://localhost:3000/ldap \
 --header 'Content-Type: application/json' \
 --data '{"username": "gauss", "password": "password"}'

Example response

{"dn":"uid=gauss,dc=example,dc=com","controls":[],"objectClass":["inetOrgPerson","organizationalPerson","person","top"],"cn":"Carl Friedrich Gauss","sn":"Gauss","uid":"gauss","mail":"[email protected]"}
# watch mode
$ yarn run start:dev

Author

Created by Simon Brännström January 2020.

License

Nest is MIT licensed.