github_signin_promax 0.0.8+1 copy "github_signin_promax: ^0.0.8+1" to clipboard
github_signin_promax: ^0.0.8+1 copied to clipboard

the GitHub OAuth Login package! This package is designed to simplify the process of implementing GitHub OAuth login functionality in your Flutter apps. With just a few lines of code, you can easily au [...]

github_signin_promax package #

Sign In With GitHub Promax https://pub.dev/packages/github_signin_promax

Getting Started #

Add package dependency

github_signin_promax: ^0.0.8+1

Perform Sign In With GitHub

How to use #

    
    // create required params
    var params = GithubSignInParams(
      clientId: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
      clientSecret: 'XXXXXXXXXXXXXXXXXXXXXXXXXX',
      redirectUrl: 'http://localhost:3000/auth/github/callback',
      scopes: 'read:user,user:email',
    );

    // Push [GithubSigninScreen] to perform login then get the [GithubSignInResponse]
    Navigator.of(context).push(MaterialPageRoute(builder: (builder) {
      return GithubSigninScreen(
        params: params,
        headerColor: Colors.green,
        title: 'Login with github',
      );
    })).then((value) {
      // TOTO: handle the response value as a GithubSignInResponse instance
    });

Showcase #

Showcase

15
likes
140
points
22
downloads

Publisher

verified publisherdeveloperfect.com

Weekly Downloads

the GitHub OAuth Login package! This package is designed to simplify the process of implementing GitHub OAuth login functionality in your Flutter apps. With just a few lines of code, you can easily authenticate your users with their GitHub accounts, giving them access to your app's features and data.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_inappwebview, http

More

Packages that depend on github_signin_promax