Skip to content

Demo Application using Symfony 6, Tailwind, FrankenPHP, AssetMapper and Webauthn

License

Notifications You must be signed in to change notification settings

web-auth/symfony-webauthn-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webauthn Demo

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 git@github.com:web-auth/symfony-demo.git
cd symfony-demo
make build
make up
make init
make frontend

Then open your browser at https://localhost

Live Demo

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.