Getting started
Run example.stupidwebauthn.site locally and test it out on your machine.
The only requirement is that you have docker installed.
Git clone
git clone --depth 1 https://github.com/stupidwebauthn/example stupidwebauthnexample
cd stupidwebauthnexample
Run
docker compose up
Open http://localhost:5178/ and the test mail server http://localhost:8025/
warning
Opening on http://127.0.0.1:5178/ is not supported, it must be on the correct domain
- Click on Register, then fill in an email and an email will appear in http://localhost:8025/, click the link in the mail, then follow the passkey instructions and you should be logged-in.
- (If logged-in: log-out) Click on Login and fill in the email you used to register with, then follow the passkey instructions and you should be logged-in.