Comment on page
Add Passage
Add Passage to your Flutter app
If you don’t already have a Flutter project and just want to try out Passage, consider cloning our Flutter Example App.
Install Passage Flutter:
flutter pub add passage_flutter
Import the package.
import 'package:passage_flutter/passage_flutter.dart';
To finish setting up your Flutter app for passkeys on Android, please follow the instructions here:
To finish setting up your Flutter app for passkeys on iOS, please follow the instructions here:
When you're running the web app locally you'll want to make sure your Passage app auth origin and Flutter web app port are set to the same localhost.
The hard part is over! It's time to get started using Passage.
Last modified 4d ago