Skip to content

mineiro/auth-demos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auth Demos

Various demos showing component pieces for doing secure authentication via HTTP Basic Auth.

Our aim is to use TLS in conjunction with Basic Auth, so that we're not sending plain text passwords over the wire.

For our use case, we're also interested in validating the returned credentials (i.e., username and password) against an LDAP server.


  • make-curl - utility for generating test curl commands

  • ldap-auth - demo of how to authenticate against an LDAP server

  • basic-auth/ - http servers prompting for basic authentication

    • http - a simple http server with basic auth
    • hapi - same as above, but we're using hapi.js as our server framework
    • hapi-ldap - same as above, but validating credentials against an LDAP
    • hapi-ldap-tls - same as above, but using TLS for encryption
  • tls/ - demos showing how to run various forms of https servers

    • https - using the https module (part of node's core library)
    • tls - using the tls module
    • hapi - using hapi.js

About

Demo code for secure authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 43.4%
  • HTML 28.6%
  • CSS 22.1%
  • CoffeeScript 5.9%