Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.24 KB

README.md

File metadata and controls

40 lines (32 loc) · 1.24 KB

Example App for flutter_auth

Example Flutter App to demonstrate flutter_auth plugins:

drawing

Getting Started

  1. Download project to your local machine
git clone https://github.com/stacktiger/flutter_auth_example.git
  1. Replace auth credentials with your own crdentials in lib/main.dart:
final twitterAuth = TwitterAuth(
   clientId: '<your-client-id>',
   clientSecret: '<your-client-secret>',
   callbackUrl: '<your-callback-url>',
 );

 final githubAuth = GithubAuth(
   clientId: '<your-client-id>',
   clientSecret: '<your-client-secret>',
   callbackUrl: '<your-callback-url>',
 );

If you're unsure where to get them from, see the documentation for Twitter and GitHub for details.

  1. Install project dependencies
flutter pub get
  1. Run the app
flutter run