github_signin_promax 0.0.3 copy "github_signin_promax: ^0.0.3" to clipboard
github_signin_promax: ^0.0.3 copied to clipboard

The Github sign in with Oauth

github_signin_promax #

Sign In With GitHub

Getting Started #

Add package dependency

github_signin_promax: ^0.0.3

Perform Sign In With GitHub


    var params = GithubSignInParams(
          clientId: 'XXXXXXXXXXXXXXX',
          clientSecret: 'XXXXXXXXXXXX',
          redirectUrl: 'http://localhost:3000/auth/github/callback',
          scopes: 'read:user,user:email',
        );
        
      Navigator.of(context).push(MaterialPageRoute(builder: (builder) {
        return GithubSigninScreen(
          params: params,
          headerColor: theme.p700,
          title: 'Login',
        );
      }));