Skip to content

stacktiger/flutter_auth_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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