5,164 questions
-4
votes
1
answer
21
views
Expo Google OAuth with expo-auth-session: redirect_uri_mismatch and flowName=GeneralOAuthFlow when using auth.expo.io
I’m building an Expo React Native app and trying to implement Google Sign-In using
`expo-auth-session` and `expo-auth-session/providers/google`.
Environment:
- React Native (Expo Router)
- Running in ...
1
vote
0
answers
21
views
What domain to add to Firebase Authentication for Firebase Studio with Google Auth?
I'm using Firebase studio to generate a small app, with Google Auth enabled. The app shows up fine, but when trying to use the Google Auth, like this:
async function logInWithGoogle(auth: Auth) {
...
0
votes
1
answer
49
views
Google Sign-In fails with ApiException: 10
i am new to Flutter + Firebase Auth and I’m having a strange intermittent issue with Google Sign-In.
Sometimes it works perfectly, and sometimes I get these errors:
PlatformException(channel-error, ...
0
votes
1
answer
50
views
How to change project name shown in Google Sign-In popup?
I have a frontend and a separate backend project. We use our own authentication system, and Firebase is used only for Google Sign-In.
The flow is:
Frontend uses Firebase to sign in with Google (popup)...
0
votes
0
answers
107
views
Log in with Google redirects me back to the wrong URL [closed]
I'm trying to develop an app with Node.js that allows a user to log in with Google. This works fine on my local development machine where the Cloud Console authorized redirect URI is http://localhost:...
1
vote
0
answers
69
views
Redirect Uri is not working in React Native
My mobile app using React Native I build using eas build -p android --profile preview. It created an qr-code using which I downloaded my apk file and I installed that. When I open the app it is ...
2
votes
3
answers
268
views
Flutter Google Sign-In [16] Account reauth failed on Android — need help troubleshooting
I’m trying to implement Google Sign-In in my Flutter app using google_sign_in: ^7.2.0 and Firebase Authentication, but I keep hitting the following error after selecting a Google account:
...
0
votes
0
answers
54
views
Google Credential Manager Android Kotlin API ends up in infinite loop on internet unavailability
I have implemented Google SignIn using Google Credential Manager Kotlin API for Android. The API works well in all positive scenario for signing in a user, but when the Internet is not available, I ...
Advice
0
votes
1
replies
70
views
Fall 2025 Does Apple Require you to offer Sign in with Apple if you offer sign in with Google and your own login system?
Apple's developer guidelines (Section 4.8) currently state:
Apps that use a third-party or social login service (such as Facebook Login, Google Sign-In, Sign in with Twitter, Sign In with LinkedIn, ...
0
votes
0
answers
78
views
iOS/web Auth Client ID Handling for Google Sign In
To preface, I'm not asking for a direct fix here, I'm just curious if what I'm doing is the appropriate auth flow for setting dynamic client ID based on device platform.
I am 2 applications that use ...
0
votes
1
answer
79
views
AWS Cognito Google Sign-in with Next.js works, but Sign-out does not fully log the user out
I’m using AWS Cognito with Google as an Identity Provider in a Next.js app. I am using AWS managed login as well. Sign-in works correctly, tokens are received, and the user session persists. However, ...
0
votes
0
answers
68
views
AppCheck does not work as expected with Google Sign-In SDK
I have this code to use AppCheck with Google Sign-In:
class SimpleAppCheckProviderFactory: NSObject, AppCheckProviderFactory {
func createProvider(with app: FirebaseApp) -> AppCheckProvider? {
...
1
vote
1
answer
100
views
Flutter web google_sign_in widget twitching continuously on user interaction
I am currently encountering a problem where my google_sign_in button rendered from the Web is twitching as shown here:
GIF: GOOGLE SIGN IN WIDGET TWITCHING
I have followed the example given from the ...
0
votes
1
answer
170
views
Is it possible to get Google Calendar API access token directly from Firebase GoogleAuthProvider?
I'm using Firebase Authentication to log in users with Google in my web app. I want to access Google Calendar API on behalf of the user.
Currently, Firebase gives me a Firebase ID token and a ...
2
votes
0
answers
93
views
ApiException 10 occurs only in Google Play version of Flutter app despite correct SHA-1 and Web client ID
I’m using Google Sign-In with Firebase in my Flutter app.
Here’s the situation:
I previously changed the app’s package name and updated it everywhere, reconfiguring Firebase accordingly.
When I test ...
1
vote
0
answers
127
views
How to implement backup and restore in flutter with Google Sign In v7
this is my code to sign in with firebase google:
Future<UserCredential> signInWithGoogleFirebase(bool silent) async {
await _ensureGoogleSignInInitialized();
GoogleSignInAccount? googleUser ...
0
votes
0
answers
58
views
Redirect Mismatch Problem in google based in login for chrome extension
I am currently implementing google based login aunthentication for a chrome extension which is not live , it is in developement mode
i also setup the in google developer console where i put my chrome ...
0
votes
0
answers
135
views
How to hide/handle google one tap when inside a mobile in app browser?
Similar to this , google one tap sign in for my site, when inside a 3rd party mobile app's in app browser (e.g. instagram, youtube, etc) will silently fail with a white screen.
This not being ...
0
votes
1
answer
165
views
not receiving email in GoogleSignInAccount object
I am using google_sign_in 7.1.1 package to implement oauth with google in my flutter app.
I've created oath client id using firebase authentication also added sha-1 fingerprint to app configuration.
...
0
votes
0
answers
57
views
Social Login from AWS Cognito is not returning the refresh token
I created an user pool, I can login with Gmail through HostedUI successfully, but when checking the session, returned by Cognito, no refresh token is given back, only Access Token and Id Token. I ...
1
vote
2
answers
176
views
Incompatible magic value 0 in class file when using google_sign_in 7.1.1 in Flutter project
I’m encountering a build error in my Flutter project when adding the google_sign_in package. Here are my environment details:
Flutter version: 3.32.8
Google Sign-In version: 7.1.1
JDK: 17.0.12
Android ...
1
vote
1
answer
372
views
Google Sign-In Failed with "Access blocked: Authorization error, Error: Invalid_scope" in Flutter
I'm getting an "Access blocked: Authorization error, Error: Invalid_scope" error when trying to implement Google Sign-In in my Flutter application with multiple OAuth scopes.
Error Message
...
0
votes
0
answers
58
views
UIKitCore ‘superview is UIWindow’ error with RevenueCat Paywall & Google Sign-In after upgrading to Expo SDK 53
After upgrading my project to SDK 53 (React Native 0.79.5, React 19), I’m seeing this error when opening the RevenueCat Paywall or triggering the Google Sign-In flow in iOS:
[UIKitCore] View doesn't ...
2
votes
0
answers
244
views
How to keep track of logged in user with google_sign_in v7.x?
attemptLightweightAuthentication() replaces the signInSilently() but attemptLightweightAuthentication() always open a visual indicator which shows user that they are singing in to our app with their ...
1
vote
2
answers
364
views
Google Credential Manager - Issue with getting the user email
I'm using the Android Credential Manager API to implement "Sign In with Google" in my application. I'm successfully getting a GoogleIdTokenCredential after a successful sign-in, but I'm ...
4
votes
0
answers
154
views
Error GetCredentialResponse retornado da estrutura no Flutter Google Sign In 7.1.1
I'm trying to implement Google sign-in using the google_sign_in 7.1.1 library. (Note: Without using Firebase).
I created the consent screen in the Google Cloud dashboard and created two OAuth 2.0 ...
7
votes
1
answer
3k
views
The class 'GoogleSignIn' doesn't have an unnamed constructor
I created app and everything worked perfect but after I finished it I upgraded flutter pub using flutter pub upgrade --major-versions. I got an error:
The class 'GoogleSignIn' doesn't have an unnamed ...
5
votes
5
answers
5k
views
Flutter for Android - Login with google_sign_in 7.1.0 fails
I'm having trouble logging in with Google on my Flutter App (Android) after upgrading from google_sign_in version 6 to version 7.
I followed a guide to convert the authentication-related code, and it ...
2
votes
2
answers
1k
views
Flutter new google_sign_in package V7 - missing 'accessToken' property?
I'm updating my Flutter app to use the latest version of the google_sign_in package R7, and I've noticed that the "accessToken"' property is no longer available on the "...
0
votes
0
answers
111
views
Google Sign-In fails silently with /login?error when using HTTPS (works on HTTP) in Spring Boot + Scala application
I am facing an issue with the Google Sign-In integration in my Scala + Spring Boot web application.
Problem:
When I try to sign in with Google using HTTPS (deployed via ngrok), I am silently ...
0
votes
1
answer
177
views
Problems with CredentialManager: Cannot auto sign in with multiple accounts, no logout API, and login failure after app access revocation
I'm implementing Google Sign-In in my Android app using the new CredentialManager API. However, I'm facing several critical issues that are making it hard to replace the old GoogleSignInClient:
Issues:...
0
votes
0
answers
71
views
Getting No type or protocol named 'GIDSignInDelegate' error when trying to run xcode project
I am using latest google sign unity release 1.0.4 in Unity project. I use google sign in via Firebase. Everything works fine when I generate an Android app from my Unity project but I am facing issue ...
1
vote
0
answers
103
views
React native firebase sign in with google
Im doing an app in react native using expo and i got the OAuth 2.0 client id in the cloud google console set up like this:
app type -> web app
Authorized JavaScript Origins -> https://auth.expo....
0
votes
0
answers
105
views
FirebaseAuth Error code 17004 is being thrown when Error code 17011 should appear (XCode)
I'm currently working on the entire authentication section of an IOS app using the most recent version of XCode and just added Google sign-in capabilities.
I first created an account using email/...
2
votes
1
answer
185
views
Struggling to Get Signed-In Google User Session Using New Credential Manager API
I'm updating my app to use the new Credential Manager API for authenticating users via Firebase with Google Sign-In, since the previous approach using GoogleSignIn.getSignedInAccountFromIntent is now ...
0
votes
0
answers
98
views
Unity iOS Build Fails After Adding GoogleSignIn – Undefined Symbols for GoogleSignIn Methods
I'm encountering an issue when building my Unity app for iOS after integrating GoogleSignIn.
Previously, my app built successfully with only Firebase Firestore integration. However, after adding ...
0
votes
1
answer
96
views
Google Sign-In in Ionic React with Firebase not working in production (BAD_AUTHENTICATION, OAuth2: OpenID error)
I’m working on a mobile app built with Ionic React and I’m trying to implement Google login using Firebase. I am using the @capacitor-firebase/authentication package for Firebase Auth in an Ionic ...
0
votes
0
answers
38
views
PlatformException(sign_in_failed, com.google.android.gms.api.b: 10: , null, null) [duplicate]
I am facing a problem with Google signin using firebase to authenticate user.
It works in debug and release mode but when deployed to playstore, it shows error of PlatformException.
Tried adding sha1 ...
0
votes
2
answers
176
views
Google OAuth invalid_grant error during token exchange - code_verifier is undefined, redirect_uri mismatch?
I am implementing the Google OAuth 2.0 authorization code flow to fetch Gmail data. However, during the token exchange step on my backend, I consistently encounter the following error:
Error during ...
0
votes
1
answer
100
views
React PWA is handling auth redirect for custom domain instead of Firebase
I am trying to enable Firebase Google authentication in my React PWA, specifically the sigInWithPopup method. It works fine when I use the default URLs provided by Firebase (e.g., my-project....
0
votes
1
answer
97
views
How to check if GetGoogleIdOption has not available google accounts?
I'm using the following snippet to get googleIdOption to use with Credential manager but what if no google account is selected and So I need to add the setFilterByAuthorizedAccounts to false.
Most are ...
0
votes
0
answers
71
views
Google OAuth: New users see verified consent screen, but old users still get “unverified app” warning despite prompt=consent
I'm using Google Identity Services (window.google.accounts.oauth2.initCodeClient) for OAuth in a React application.
Our app is now verified by Google, and new users signing in for the first time see ...
0
votes
0
answers
138
views
Why does my OAuth2 login flow (without popup) redirect me back to the Google account page after successful login?
I'm building an OAuth2 login flow (Google and spotify) in a single-page app without using popups, only full-page redirects. Everything works fine — the user is redirected to Google, then back to my ...
0
votes
1
answer
422
views
How to get FedCM API working on localhost?
I am working with fedcm api for authentication. I am using this
if ('IdentityCredential' in window) {
// AJAX call to login
navigator.login.setStatus('logged-in');
// TODO handle user ...
0
votes
0
answers
109
views
Google Sign-In on Android throws com.google.android.gms.common.api.ApiException: 12500 despite correct SHA-1 and OAuth consent screen setup
I’m trying to integrate Google Sign-In into my Flutter Android app using Firebase Authentication, but every attempt ends with(This happened only on release):
'''com.google.android.gms.common.api....
0
votes
1
answer
150
views
Can I migrate from the old play-services-auth API to the Credential Manager API without dropping support for older phones?
My app uses Firebase authentication and, so far, has been using the old API for Google Sign In, based on BeginSignInRequest. This API is deprecated and will be removed from the SDK later this year and ...
0
votes
1
answer
85
views
Can not use google_sign_in with Flutter
I'm trying to implement google_sign_in with my current project.
Here is how I'm using the signin method:
final GoogleSignIn _googleSignIn = GoogleSignIn(
scopes: [
'email',
'profile',
...
-1
votes
1
answer
434
views
iOS Simulator Cannot Open Google Auth URLs
I am trying to implement Google OAuth in my iOS application. However, URLs like https://accounts.google.com/ServiceLogin?service=mail&passive=true&continue=https://mail.google.com/mail/?view&...
0
votes
1
answer
366
views
Flutter Google Sign In get the error: Safari can't open the page because the network connection was lost
i'm getting this error when trying to perform the google sign in method with flutter like this
import 'package:google_sign_in/google_sign_in.dart';
final googleSignIn = GoogleSignIn(
...
0
votes
3
answers
93
views
Without Firebase: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null)
final api = GoogleSignIn();
Future<void> _signIn() async {
try {
var user = await api.signIn();
print(user);
} catch (e) {
logger.e(e);
}
}
key.properties
storePassword=...