Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 2.08 KB

README.md

File metadata and controls

46 lines (33 loc) · 2.08 KB

Descope's Flutter Sample App showcasing SDK Authentication Functions CI

Welcome to Descope's Flutter Sample App (Auth Func), a demonstration of how to integrate Descope for user authentication within a Flutter application. By exploring this project, you can understand how Descope works with Flutter to manage different authentication flows.

Features

This sample app includes:

  • App Client: An example of how the client communicates with Descope.
  • Auth Functions: Demonstrations of various authentication functions supported by the Descope Flutter SDK. So far, we showcase: OAuth and OTP

Getting Started

Follow these steps to run the sample app and explore Descope's capabilities with Flutter:

Prerequisites

Make sure you have the following installed:

  • A code editor such as Visual Studio Code, IntelliJ, or others.

Run the app

  1. Clone the Repository: Clone this repository to your local machine.
  2. Open the Project: Open the project within VS Code or your IDE of choice.
  3. Add your Descope Project ID: Within the root directory of the project, create a .env file. Add your Descope Project ID, which can be found in your Descope Console.
DESCOPE_PROJECT_ID=<your_descope_project_id>
  1. Navigate to Project Directory: Change your current directory to the project's root directory.
cd flutter-sample-app/
  1. Install Dependencies and Run the Application: Retrieve all the required packages and start the application using the following commands:
flutter pub get
flutter run

Learn More

To learn more please see the Descope Documentation and API reference page.

Contact Us

If you need help you can contact us

License

The Flutter Sample App is licensed for use under the terms and conditions of the MIT license Agreement.