https://github.com/authgear/authgear_example_flutter
https://github.com/authgear/authgear_example_flutter
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/authgear/authgear_example_flutter
- Owner: authgear
- Created: 2025-02-03T11:42:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-04T04:24:12.000Z (about 1 year ago)
- Last Synced: 2025-04-04T05:24:25.038Z (about 1 year ago)
- Language: C++
- Size: 271 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Authgear sample for Flutter
This repo demonstrates how to add user authentication to a Flutter app using Authgear.
## Project setup
### Create Free Authgear Account
1. Goto [https://portal.authgear.com](https://portal.authgear.com) and create a free account (or login to your existing account).
2. Then navigate to Applications and create a new client application of type Native App.
### Configuration
Clone the repo, update the configuration then run `flutter run` from the project's root directory.
The project needs to be configured with your Authgear client application's **Endpoint** and **Client ID** in order for the authentication flow to work.
To do this, open `lib/constants.dart`, and replace `""`, `""` with with your own Authgear application credentials.
To run this example app, add the following URI to your Authgear client application's Authorized Redirect URI:
- `com.example.authgeardemo.flutter://host/path`
## What is Authgear?
[Authgear](https://www.authgear.com/) is a highly adaptable identity-as-a-service (IDaaS) platform for web and mobile applications.
Authgear makes user authentication easier and faster to implement by integrating it into various types of applications - from single-page web apps to mobile applications to API services.
### Key Features
- Zero trust authentication architecture with [OpenID Connect](https://openid.net/developers/how-connect-works/) (OIDC) standard.
- Easy-to-use interfaces for user registration and login, including email, phone, username as login ID, and password, OTP, magic links, etc for authentication.
- Support a wide range of identity providers, such as [Google](https://developers.google.com/identity), [Apple](https://support.apple.com/en-gb/guide/deployment/depa64848f3a/web), and [Azure Active Directory](https://azure.microsoft.com/en-gb/products/active-directory/) (AD).
- Support biometric login on mobile, Passkeys, and Multi-Factor Authentication (MFA) such as SMS/email-based verification and authenticator apps with TOTP.
## Documentation
View other Authgear Documentation at [https://docs.authgear.com/](https://docs.authgear.com/)