github_sign_in_plus 0.0.2 copy "github_sign_in_plus: ^0.0.2" to clipboard
github_sign_in_plus: ^0.0.2 copied to clipboard

Authenticate Using GitHub on Android & iOS You can let your users authenticate with Firebase using their GitHub accounts by integrating web-based generic OAuth Login into your app using the Firebase S [...]

github_sign_in_plus #

Sign In With GitHub

Getting Started #

Add package dependency

github_sign_in_plus: ^0.0.1

Perform Sign In With GitHub

final GitHubSignIn gitHubSignIn = GitHubSignIn(
        clientId: clientId,
        clientSecret: clientSecret,
        redirectUrl: redirectUrl);
    var result = await gitHubSignIn.signIn(context);
    switch (result.status) {
      case GitHubSignInResultStatus.ok:
        print(result.token)
        break;

      case GitHubSignInResultStatus.cancelled:
      case GitHubSignInResultStatus.failed:
        print(result.errorMessage);
        break;
    }
7
likes
100
pub points
76%
popularity

Publisher

verified publisherdevsig.com

Authenticate Using GitHub on Android & iOS You can let your users authenticate with Firebase using their GitHub accounts by integrating web-based generic OAuth Login into your app using the Firebase SDK to carry out the end to end sign-in flow.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

flutter, http, url_launcher, webview_flutter

More

Packages that depend on github_sign_in_plus