talira

google_sign_in

Flutter plugin for signing in with a Google account

open sourceBSD-3-Clausefree

google_sign_in is the Flutter team's plugin for Google Sign-In: an app initializes a GoogleSignIn instance, signs users in with their Google account (with lightweight authentication when it can), and requests the OAuth scopes it needs to call Google APIs. It's a federated plugin, with per-platform packages for Android, iOS and macOS, and the web. It works with Flutter.

Problems it solves

  • let users sign in with their Google account in my Flutter app
  • get an OAuth token for Google APIs from a Flutter mobile app
  • add Google login to a Flutter app that also runs on the web

Features

  • sign in with a Google account from a Flutter app
  • lightweight authentication that restores an existing sign-in
  • request OAuth scopes to call Google APIs
  • Android, iOS, macOS and web from one Dart API

Alternatives

The same job

These do what google_sign_in does.

  1. local_auth Flutter plugin for local authentication with biometrics, passcode, PIN or pattern
  2. sign_in_with_apple Flutter bridge to initiate Sign in with Apple on iOS, macOS, and Android
  3. webview_flutter Flutter plugin that shows web pages in a WebView widget

Compare google_sign_in with the top 3