Issue I am developing an android app which has a setting option to change the language. It works fine, but the google sign in button doesn’t change the language until I close the app and reopen it. This is the
Continue readingTag: google-signin
Google login only works for me – SHA1 problem
Issue My app uses Google Login and only I can use Google login successfully because I used mine SHA1 which was generated from debug.keystore. When setting up Android Client in Google Cloud project I put mine SHA1. What is the
Continue readingflutter: Google sign-in error: PlatformException(google_sign_in, No active configuration. Make sure GIDClientID is set in Info.plist
Issue this is my auth class class Authentication { final FirebaseAuth _auth = FirebaseAuth.instance; final GoogleSignIn googleSignIn = GoogleSignIn(); Future<User?> signInWithGoogle() async { try { final GoogleSignInAccount? googleUser = await googleSignIn.signIn(); if (googleUser == null) { // User canceled the
Continue readingWhich SHA-1 (debug or release) need to be added to a firebase android project
Issue I’ve recently started new android firebase project and added my debug SHA-1 key I generated in android studio. I grabbed config .json file and started working in the app. Particular are of interest for this was google sign in.
Continue readingFlutter web app with different Firebase projects
Issue I do have one Flutter web app, but because of our workflow we use multiple Firebase projects (dev, stage, prod) for hosting. This wouldn’t be a big deal, if I don’t need different index.html file. Sadly we use Google
Continue readingthe accessToken of the GoogleSignInAuthentication accessToken is null in the web flutter
Issue I am trying to make the web version of my application available in flutter. In the mobile version, both on android and ios, login with google credentials works perfectly. In the web flutter I get the idToken correctly but
Continue readingthe accessToken of the GoogleSignInAuthentication accessToken is null in the web flutter
Issue I am trying to make the web version of my application available in flutter. In the mobile version, both on android and ios, login with google credentials works perfectly. In the web flutter I get the idToken correctly but
Continue readingNew Google Sign-In API – refresh token
Issue Problem I am trying to use the New Google Sign-In API for authenticating with my own backend server. Every call to my server contains the idToken jwt as a Bearer token. On the backend side, I validate the token
Continue readingFirebase returns "null" account after successful authentication
Issue Why does Firebase return "null" account after successful Google Play authentication? class MyActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { […] val activity = this val gso = GoogleSignInOptions .Builder(GoogleSignInOptions.DEFAULT_GAMES_SIGN_IN) .requestServerAuthCode("<some-id>.apps.googleusercontent.com") .build() val signInClient = GoogleSignIn.getClient(activity, gso) val
Continue readingGetting idToken 'null' when using google_sign_in in Flutter
Issue I am using google_sign_in plug in. It is working good. but I have a problem. I need to send idToken to backend server to verify a user. But IdToken is null from google sign in response. code is simple
Continue reading