A demo for implementing PassKeys with Vapor
See the code
Proof of concept app for trying to integrate passkeys and WebAuthn into Vapor

Clone the project, then in Terminal run
swift run
In your browser go to http://localhost:8080 and follow the steps!
If you want to make CSS changes you'll need to download the Tailwind CSS executable and place it in the root of the project:
# Example for macOS arm64
curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-macos-arm64
chmod +x tailwindcss-macos-arm64
mv tailwindcss-macos-arm64 tailwindcss
Then run the following to generate Tailwind CSS classes and watch for changes:
./tailwindcss -i Resources/Utils/styles.css -o Public/styles/tailwind.css --watch
Do not edit
Public/styles/tailwind.cssmanually as it will be overwritten by the above command!
CSS
41.9%
Swift
35.5%
JavaScript
18.0%
Dockerfile
4.4%
A demo for implementing PassKeys with Vapor
See the code
Proof of concept app for trying to integrate passkeys and WebAuthn into Vapor

Clone the project, then in Terminal run
swift run
In your browser go to http://localhost:8080 and follow the steps!
If you want to make CSS changes you'll need to download the Tailwind CSS executable and place it in the root of the project:
# Example for macOS arm64
curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-macos-arm64
chmod +x tailwindcss-macos-arm64
mv tailwindcss-macos-arm64 tailwindcss
Then run the following to generate Tailwind CSS classes and watch for changes:
./tailwindcss -i Resources/Utils/styles.css -o Public/styles/tailwind.css --watch
Do not edit
Public/styles/tailwind.cssmanually as it will be overwritten by the above command!
CSS
41.9%
Swift
35.5%
JavaScript
18.0%
Dockerfile
4.4%