Flutter google sign in without firebase Set up authentication through the Google Cloud Console and get started on Android, iOS, and Web today! Sep 29, 2023 · This tutorial will guide you through the process of enabling Google Sign In authentication to flutter application using firebase authentication with step-by-step and show’s the user’s data. You signed out in another tab or window. You can find out more about this here. If an app only needs an idToken , or only requests permissions to any/all of the three scopes mentioned above ( OpenID Connect scopes ), it won't need to implement any Flutter Google Sign In without firebase . If anyone knows how do this on iOS, it would of great help. Toggle the switch labeled "Enable", and press "Save". json file which is given to you when you register your app in firebase, and you can use that with google_sign_in (this is the default way shown in the documentation). Set up authentication through the Google Cloud Console and get started on Android, iOS, and Web today! Sep 17, 2024 · In this article, we explored how to implement Google Sign-In in Flutter without Firebase. I am looking for Adding the FB and Google authentication in my flutter app without the Firebase. Apr 16, 2025 · google_sign_in_ios #. Google sign in is working perfectly on emulator but when I export signed bundle and test on physical device. Additionally, for user login, I create a token using the jwt. For people implementing google sign-in without firebase: First, run flutter doctor command: flutter doctor -v; It will return the java bin library path: Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java Sep 21, 2024 · Steps to reproduce. I was getting null for the token value when trying to implement this without the google-services. May 9, 2023 · Open the “pubspec. /common" toast: ^0. You switched accounts on another tab or window. Nov 10, 2021 · Implement Google Sign in with Flutter without Firebase for Android. If the setting is correct, you will be able to popup an account selection dialog for Android and login page for IOS when app is first login. 2 days ago · Implement Google Sign-In. firebase_core: for initializing Firebase; firebase_auth: for implementing Firebase authentication. Add custom URL schemes to your Xcode project: Open your project configuration: click the project name in the left tree view. Steps to Implement Google Sign-In with Firebase Step 1: Create a new Flutter Application May 21, 2024 · I install google_sign_in and create successfully my keytool sha key , i configure my google console acccount and create credentials (i enable also People API). I pass my generate keytool file into Mar 8, 2025 · Flutter plugin for Google Sign-In, a secure authentication system for signing in with a Google account. Guides for firebase are in abundance, but if for any… Jan 9, 2019 · I am working on a Flutter app and need to include the Facebook and Google login options in our app login page. 1 I have followed the instructions on generating/adding the Sha-1, Sha-256 keys to my firebase project. Jul 23, 2024 · Ensure the "Google" sign-in provider is enabled on the Firebase Console. The iOS and macOS implementation of google_sign_in. google. 6 days ago · Since Flutter is a multi-platform framework, each Firebase plugin is applicable for Apple, Android, and web platforms. Usage #. 0 clientid steps above, your google login button may not work after it is published on platforms such as google play. Aug 28, 2021 · Yes You can. You will see the list of the apps connected to your Firebase project. jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias upload google_signin_without_firebase This is a feature implementation for Google sign-in in your Flutter application without using Firebase This application includes: Jan 21, 2024 · Learn how to integrate Google Sign-In into your Flutter app without relying on Firebase. There are stackoverflow questions with several options, myriad recommendations and people… Feb 5, 2020 · There seems to be missing a guide for Google sign in with flutter, without firebase. yaml” file in your project’s main directory and add google_sign_in to the dependencies section: dependencies: google_sign_in: ^6. May 10, 2023 · Learn how to implement Google sign-in in Flutter without Firebase with this easy-to-follow guide. This package will be automatically included in your app when you do, so you do not need to add it to your pubspec. Sep 19, 2024 · Install Require Dependencies . This is with respect to google_sign_in: ^4. 0” with the version you copied from pub. dev/packages/google_sig Jul 22, 2019 · Everything online says google_sign_in can be used on android without having to explicitly set the client_id when instantiating the GoogleSignIn instance. create the new flutter project, then get the dependency of the firebase_core, firebase_auth, google_sign_in. With only few adjustments based on the device, you've empowered your users with a significant and secure method to sign in to your application. For Android. Steps to Implement Google Sign In with Firebase Step 1: Create a new Flutter Application Sep 22, 2020 · firebase_email_signin 使用Flutter的Google Firebase电子邮件和Google Plus登录。 介绍: 如今,Google Firebase越来越流行。 Google Firebase大约有10种登录方法,包括电子邮件,谷歌,facebook,电话,twitter,yahoo等登录。 本文仅涵盖电子邮件和Google登录信息。 现在,我们将逐步进行。 Jul 28, 2019 · This video covers the implementation of Google Sign In in your Flutter application without using Firebase. Implement Google Sign-In by following these steps. . myapp with SHA fingerprints registered in the f Mar 20, 2025 · No programming is required on the Firebase side which makes it easy to use its features more efficiently. Flutter Google Sign in Without Firebase. You don't need to include the google-services. When I was using firebase, this worked fine. I am currently using a Google Cloud Platform project, and the iOS version of the app works perfectly. – DRE Commented Jun 26, 2021 at 22:36 Google sign in without firebase Video I recently found out this video that explains how to google signin in flutter web without firebase pretty easy and straightforward (you can easily do it for app, there's info in the comments on how to). Sep 17, 2021 · I am using Google Sign-in provider in flutter, google_sign_in: ^5. Aug 16, 2019 · If you have completed the OAuth 2. json, but successfully signing into google. To access Google Sign-In, you'll need to make sure to register your application. Jul 25, 2022 · Let your Flutter App users authenticate with GoogleOAuth2, using Flutter AppAuth, and connect with your backend. Hi, I would like to know if it is possible to get an user's idToken in the google_sign_in plugin without integrating Firebase. Run the “flutter pub get” command in your terminal to fetch and update the dependencies. Contribute to enesuludg/Flutter-Google-Sign-in-Without-Firebase development by creating an account on GitHub. Sep 27, 2020 · You have successfully implemented Firebase Authentication and Google Sign-In to your Flutter web app and deployed it using Codemagic. but unfortunately i cant find a way to do so. android. So, if you add any Firebase plugin to your Flutter app, it will be used by the Apple, Android, and web versions of your app. It just mimics the Google Sign In an Feb 6, 2019 · Open the Firebase console and click on the settings icon. This will motivate me to post more videos which will be helpful for you guys. gms. The new web SDK implicitly grant access to the email, profile and openid scopes when users complete the sign-in process (either via the One Tap UX or the Google Sign In button). Here's how to add a Firebase Flutter plugin: From your Flutter project directory, run the following flutter firebase google login, google sign in flutter firebase, how to implement google sign in flutter, flutter google sign in using firebaseIn this video, Oct 31, 2023 · You signed in with another tab or window. dev. Save time on authentication setup in your Flutter apps! Presenting an easy-to-integrate login creation system with Firebase and efficient session management using Shared Preferences. ApiException: 10:, null, null) When I integrate Google Sign-In with Firebase, everything works fine. Aug 2, 2023 · I save this registration to my MongoDB database. Jul 15, 2022 · #makarablue #flutter #google #oauth Flutter app sign in by Google Gmail :Go to google cloud console create a project then create OAuth consent screen and cr Hey everyone! This video covers the implementation of Google Sign In in your Flutter application without using Firebase. Open terminal inside your flutter project Apr 12, 2022 · I have been trying to find a way to integrate Google Sign-in with flutter without Firebase. When prompted in the console, download the updated Firebase config file (google-services. Having problems starting ubuntu-linux looking like this? To make the long story short: * Grub > Advanced Options > Pick the latest kernel in rescue mode * In the rescue-menu: * 1) network * 2) root > login to your root account apt remove --purge nvidia-* ubuntu-drivers autoinstall That solved it for me. I'm using flutterfire_ui and the supplied authentication code. 5. You can sign in with Google Account with following code. Aug 7, 2023 · About Press Copyright Contact us Creators Advertise Developers Terms Privacy Policy & Safety How YouTube works Test new features NFL Sunday Ticket Press Copyright Apr 22, 2025 · On the Sign in method tab, enable the Google sign-in method and click Save. I used the package google_sign_in and followed this documented video The problem is that I am only successful in doing this for android. Feb 2, 2021 · Hi, I configured google_sign_in 4. mycompany. keytool -genkey -v -keystore c:\Users\USER_NAME\upload-keystore. 4. “Flutter Google Sign in without Firebase — Android” is published by Lomana Loma. ly/3w6tqwFAIn this video, I am going to show you an easy way to integrate By the end of this video, you’ll learn how to integrate Google as an authentication provider to your Flutter app. No prior knowledge of Firebase au Oct 19, 2023 · 💼 Book a meeting: https://cutt. then open the new Firebase Authentication service, with your android debug sha1 key. Well done on this achievement in elevating your app's user experience! About. ly/Ke2x7QQ3💎 Ultimate Flutter UI Kit: https://cutt. Apr 9, 2025 · No programming is required on the Firebase side which makes it easy to use its features more efficiently. Feb 10, 2020 · There seems to be missing a guide for Google sign in with flutter, without firebase. Learn how to implement Google sign-in in Flutter without Firebase with this easy-to-follow guide. json file in your app unless you are using Google services that require it. I don't want to use Firebase, so I designed the login process as follows: I added Google login, and when the user logs in with Google, I can retrieve the following information using the Future signIn() async function: Dec 27, 2024 · I am implementing Google Sign-In in my Flutter app without Firebase, but I am encountering the following error: PlatformException(sign_in_failed, com. yaml file. The Android app runs perfectly. However, I want to implement it independently of Firebase. Jan 17, 2020 · dependencies: flutter: sdk: flutter firebase_auth: ^0. TL;DR: The GitHub repo for this project can be found here. json), which now contains the OAuth client information required for Google sign-in. Reload to refresh your session. common. It was working and nothing has been changed other than the flutter upgrades. This package is endorsed, which means you can simply use google_sign_in normally. Sep 23, 2018 · There is a google-services. 15. After creating the Flutter app add some required dependencies to pubspec. Jul 7, 2024 · If you have liked my video please like ,subscribe and comment. See the Google Sign-In developer documentation for details on using Google Sign-In with iOS. Nov 1, 2020 · Linux-Startup: NVIDIA Persistence Daemon. 2. If your user signs in with Google, after having already manually registered an account, their authentication provider will automatically change to Google, due to Firebase Authentications concept of trusted providers. This article covers the basics of Firebase Authentication Jan 2, 2024 · I want to add google sign-in feature to my app but i dont want to use firebase instead i'll use my own database instead. Aug 5, 2021 · Replace alias for better readability:. We’ll also look into and solve some of the Jun 12, 2021 · I'm developing a flutter app which includes google sign in with firebase. Not limited to Firebase. Jan 21, 2024 · And there you go! You've successfully set up Google Sign-In in your Flutter project without relying on Firebase. flutter pub add google_sign_in flutter pub add firebase_ui_oauth_google Enable Google Sign-in Provider. 3. Click "Add new provider". I was not able to find any article for this. 1. yaml. It doesn't wor Sep 4, 2024 · Found the issue with this- It was because of the incorrect key SHA-1 key. Guides for firebase are in abundance, but if for any… Dec 13, 2022 · Hi everyone, I am Adi Munawar and in this video, we are gonna learn google signIn without firebase» Oficial documentation https://pub. 3+1 google_sign_in: ^4. Aug 9, 2022 · Open the terminal and run flutter pub add google_sign_in to add the google_sign_in plugin to the project. Prior to that , I was getting an API exception. Contribute to epynic/flutter_google_sign_in_php development by creating an account on GitHub. 1 flutter_facebook_login: shared_preferences: common: path: ". then paste the signing key that google play gave you there (SHA-1). Follow the steps to set up Google Cloud Console, OAuth Client ID, and code implementation for Android, iOS, and Web. 3 successfully for a Flutter app running on a firebase project (dev) and deployed it to Google Play Internal Testing using: the package name be. 5 I have also tried moving all authentication logic into the main app and removed the reference to the 'authentication' package. Jun 26, 2021 · @Muhtar no in that question it is explained how to achieve google authentication with firebase, I would like to have email and password authentication without firebase. Dec 3, 2017 · I was facing the same issue, After checking around for a solution, from regenerating the finger print to linking the app on firebase to the Google play console and publishing the signed apk, the issue was actually because I was using the release SHA-1 on the firebase console. It just mimics the Google Sign In and retrieves the user's information using Google People API. Thank you😀Comman This step-by-step tutorial will show you how to integrate Google Sign-In into your Flutter app on iOS and Android platforms. Use Flutter Google SignIn completely without Firebase which is working for Android, iOS and Flutter Web. I am not using Firebase and working on the MySQL database for storing and retrieving user's data. We covered: Setting up OAuth credentials in Google Cloud Console for iOS, Android, and Web. Google Sign-in with Firebase in the Flutter Web app can be done by choosing the account through which you wish to sign in. For this, enter your Google cloud account and create another package name and signing key region from the OAuth clientid section. Server Client ID About. I had this working long time back with PHP that would take care of the google-auth token validation. 0, Flutter ver 2. 0 Replace “6. sign method. Click here to Subscribe to Johannes Milke: https://ww Mar 8, 2025 · Platform integration # Android integration #. Next, enable the Google provider in the Firebase Console: Navigate to the Authentication sign-in providers screen in the console. Apr 7, 2022 · Google sign-in for Android with Flutter and without Firebase does not have clear and consistent directions. api. The Github Sample Project Aug 26, 2022 · If you're deciding among authentication techniques and providers, trying out different data models with public and private data using Authentication and Firebase Security Rules, or prototyping sign-in UI designs, being able to work locally without deploying live services can be a great idea. Select "Google". May 23, 2022 · I'm having the same problem with Google sign-in on the iOS App. create the new firebase console project then configure the flutterfire cli on the project. uxsfzwxagskwzilmervidkagmbgbvftfdczlqmmekbjkfszxnxvhklklkirekjnnloewzrwd