https://github.com/brokenhandsio/vapor-passkeydemo
A demo for implementing PassKeys with Vapor
https://github.com/brokenhandsio/vapor-passkeydemo
passkeys passkeys-demo server-side-swift vapor vapor-swift webauthn
Last synced: 6 months ago
JSON representation
A demo for implementing PassKeys with Vapor
- Host: GitHub
- URL: https://github.com/brokenhandsio/vapor-passkeydemo
- Owner: brokenhandsio
- License: mit
- Created: 2022-06-09T10:33:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-07T09:50:19.000Z (about 1 year ago)
- Last Synced: 2025-03-26T08:08:24.261Z (7 months ago)
- Topics: passkeys, passkeys-demo, server-side-swift, vapor, vapor-swift, webauthn
- Language: CSS
- Homepage: https://demo.passkeys.brokenhands.io
- Size: 3.78 MB
- Stars: 113
- Watchers: 14
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vapor Passkey Demo
Proof of concept app for trying to integrate passkeys and WebAuthn into Vapor

## Usage
Clone the project, then in Terminal run
```bash
swift run
```In your browser go to http://localhost:8080 and follow the steps!
## Development
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:```bash
# 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:
```bash
./tailwindcss -i Resources/Utils/styles.css -o Public/styles/tailwind.css --watch
```> Do not edit `Public/styles/tailwind.css` manually as it will be overwritten by the above command!