Frontegg Flutter SDK

Frontegg_Flutter_SDK

Welcome to the official Frontegg Flutter SDK — your all-in-one solution for integrating authentication and user management into your Flutter mobile app. Frontegg is a self-served user management platform, built for modern SaaS applications. Easily implement authentication, SSO, RBAC, multi-tenancy, and more — all from a single SDK.

📚 Documentation

This repository includes:

For full documentation, visit the Frontegg Developer Portal:
🔗 https://developers.frontegg.com


🧑‍💻 Getting Started with Frontegg

Don't have a Frontegg account yet?
Sign up here → https://portal.us.frontegg.com/signup


🔐 Per-tenant sessions (enableSessionPerTenant)

The Flutter SDK supports Frontegg's per-tenant sessions feature through the underlying native SDKs.

  • On Android, the plugin and example apps use com.frontegg.sdk:android:1.3.13.
  • On iOS, the plugin depends on FronteggSwift with a version constraint >= 1.2.55.

To enable and use per-tenant sessions:

  1. Enable the flag in your iOS configuration

    • Add the following key to your Frontegg.plist:
    <plist version="1.0">
      <dict>
        <key>enableSessionPerTenant</key>
        <true/>
        ...
      </dict>
    </plist>
    
  2. Enable the flag in your Android configuration

    • Android: verify your Gradle config includes:
      buildConfigField "Boolean", "FRONTEGG_ENABLE_SESSION_PER_TENANT", "true"
      

💬 Support

Need help? Our team is here for you:
https://support.frontegg.com/frontegg/directories

Libraries

frontegg_flutter