Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/web-auth/symfony-webauthn-demo
Demo Application using Symfony 6, Tailwind, FrankenPHP, AssetMapper and Webauthn
https://github.com/web-auth/symfony-webauthn-demo
fido fido-u2f fido2 safetynet symfony webauthn
Last synced: 2 months ago
JSON representation
Demo Application using Symfony 6, Tailwind, FrankenPHP, AssetMapper and Webauthn
- Host: GitHub
- URL: https://github.com/web-auth/symfony-webauthn-demo
- Owner: web-auth
- License: mit
- Created: 2018-12-09T21:37:04.000Z (about 6 years ago)
- Default Branch: production
- Last Pushed: 2024-01-05T01:42:39.000Z (about 1 year ago)
- Last Synced: 2024-11-08T02:36:51.594Z (2 months ago)
- Topics: fido, fido-u2f, fido2, safetynet, symfony, webauthn
- Language: Twig
- Homepage:
- Size: 42 MB
- Stars: 41
- Watchers: 4
- Forks: 7
- Open Issues: 53
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
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](https://git-scm.com/), [Docker](https://www.docker.com/), [Make](https://en.wikipedia.org/wiki/Make_(software)) and run the following commands:
```bash
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
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](https://github.com/dunglas/symfony-docker/blob/main/docs/production.md).
Then, run the following command:```bash
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.