Add Passage

Add Passage to your Flutter app

Prerequisites

If you donโ€™t already have a Flutter project and just want to try out Passage, consider cloning our Flutter Example App.

Installation

Install Passage Flutter:

flutter pub add passage_flutter

Import the package.

import 'package:passage_flutter/passage_flutter.dart';

Android app passkey configuration

To finish setting up your Flutter app for passkeys on Android, please follow the instructions here:

pageCross Platform Android Configuration

iOS app passkey configuration

To finish setting up your Flutter app for passkeys on iOS, please follow the instructions here:

pageCross Platform iOS Configuration

Web app configuration

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.

You did it! ๐ŸŽ‰

The hard part is over! It's time to get started using Passage.

Last updated