Skip to content

anotherrohit/fido2-ldap-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Demo RP Server

run

$ docker-compose up --build

You can access to https://localhost/

If you want to use another hostname. You need to set RP_HOST environment value that is also used for FIDO2 rp.origin

docker-compose.yml:

-       RP_HOST: 'localhost'
+       RP_HOST: 'HOSTNAME'

and put SSL certificates:

  • rp/certs/HOSTNAME/cert.pem
  • rp/certs/HOSTNAME/key.pem

ldapsearch

$ docker-compose exec ldap ldapsearch -x -b "dc=example,dc=com"

CLI

$ docker-compose exec rp flask
Options:
  --version  Show the flask version
  --help     Show this message and exit.

Commands:
  cred_delete
  cred_show
  routes       Show the routes for the app.
  run          Run a development server.
  shell        Run a shell in the app context.
  user_add
  user_auth
  user_delete
  user_list
  user_show
  • add user
$ docker-compose exec rp flask user_add username password

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 35.1%
  • Python 28.3%
  • CSS 23.2%
  • HTML 10.9%
  • Dockerfile 1.9%
  • Shell 0.6%