This project is a simple demo of the Webauthn API and a Symfony application that uses it.
To use it, please install Git, Docker, Make and run the following commands:
git clone [email protected]:web-auth/symfony-demo.git
cd symfony-demo
make build
make up
make init
make frontend
Then open your browser at https://localhost
This demo is live on https://webauthn.spomky-labs.com/ (or https://spomky-webauthn.herokuapp.com/ if the first link is down).
It runs on a DigitalOcean Droplet. Please follow the steps from dunglas/symfony-docker documentation. Then, run the following command:
RELYING_PARTY_NAME="My application" \
SERVER_NAME=your-domain-name.example.com \
APP_SECRET=ChangeMe \
docker compose -f docker-compose.yml -f docker-compose.prod.yml up --detach --wait
Be sure to replace the environment variable values by your actual configuration.