Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 17 hours 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 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-07T09:50:19.000Z (6 months ago)
- Last Synced: 2025-01-13T16:13:47.766Z (8 days 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: 110
- Watchers: 15
- 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
![Screenshot of app](/images/demo.png)
## 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!