Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lauravuo/flutter-webauthn-example
Example application for WebAuthn login from Flutter app
https://github.com/lauravuo/flutter-webauthn-example
flutter passkeys webauthn
Last synced: about 2 months ago
JSON representation
Example application for WebAuthn login from Flutter app
- Host: GitHub
- URL: https://github.com/lauravuo/flutter-webauthn-example
- Owner: lauravuo
- License: apache-2.0
- Created: 2024-01-02T13:28:03.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-13T14:52:08.000Z (11 months ago)
- Last Synced: 2024-07-30T19:49:07.151Z (5 months ago)
- Topics: flutter, passkeys, webauthn
- Language: Dart
- Homepage:
- Size: 72.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flutter Example app for WebAuthn login
Utilizes [Corbado passkeys library](https://pub.dev/packages/passkeys).
## Run app
Define BACKEND_URL environment variable.
```sh
flutter run --dart-define=BACKEND_URL=$BACKEND_URL
```## Notes
- The iOS app is configured with development team id "0000000000" and bundle identifier "com.corbado.passkeys.pub". According entry needs to be found in server configuration file `/.well-known/apple-app-site-association.
- Configuration for backend domain webcredentials are needed in [iOS project configuration](https://developer.apple.com/documentation/xcode/supporting-associated-domains). Tip: search for string "backend.example.com" and replace with your domain.
- Android prerequisities:
- signing app
- Android authenticator selection needs values in registration
- Start android emulator from cmd line:```shell
~/Library/Android/sdk/emulator/emulator -avd Pixel_7_API_34
```