I have a little app with authentication and simple crud methods. I decided to change my app-connected firebase project to another new project. before I change the firebase project app was worked fine. but after change it, the authentication part works fine, but when I go to retrieve some data it shows the following error.
D/FirebaseAuth(20666): Notifying id token listeners about a sign-out event.
D/FirebaseAuth(20666): Notifying auth state listeners about a sign-out event.
before I change the firebase project app was working fine.
I add JSON file correctly
are there any changes to do after change firebase project
please help me this situation is so hard.
it shows the following error too. Problem is app was work fine I am 100% these problems occur after change firebase project
Related
We are using Firebase Auth on a Cordova app, and using it to handle Google sign in. On web, android, and even on iOS Safari, it works just fine. On our cordova iOS app though, logging in the first time will work fine if it makes you type in your email and password, but, if you go to log in and you get the "Choose an Account" screen on google to pick what email to sign in with, it ends up just loading forever when you pick the account.
Looking at the logs of what is happening, it is just calling https://accounts.google.com/_/signin/oauth and then nothing happens after that. The firebase handler URL is never called. There are no error messages in the console, nor do any of the Google requests returning errors in their responses.
We are using firebase hosting, for our web version, and for the firebase 'authDomain' (which is the same domain we are using for web).
iOS was previously working fine for us, but I'm not sure if it was iOS 16 that started the issue, or changes we made, or changes on Google's end.
Does anyone have any idea what could cause this?
We figured out the issue, it appears a cordova plugin we were using that had gotten upgraded had a bug in the new version that stopped custom url schemes from working. We upgraded again to a version that had the bug fixed and the issue stopped.
I can't make my app work in local host with App Check. Each time the generated debug token is different so I can't add it in the console. The only way I made it work is to add programmatically to index.html the custom debug token I generated like this:
self.FIREBASE_APPCHECK_DEBUG_TOKEN = '186152BD-4BAA-blabla';
is there a way to do this only for development environment? I know we can get the environment from Flutter inside flutter from String.getFromEnrironment but I don't know how I would do this with plain javascript before the app loads?
I read that adding localhost to the recaptcha key is a security breach so I didn't want to go that route.
I want to use Twitter authentication with Firebase Auth.
As usual I created a project in the firebase console and added a web app, but the project ID is not included in the callback URL, and cannot work with twitter app.
How can fix this?
Thank you for hearing my poor English.
empty callback url
process which caused the problem
I've built an app in App Maker and deployed it, but the user I thought I had given permission to is getting this notification "Sorry, you don't have access to this application."
In the app, I added a role to the data source and added the user to the role from the deployment. I also added the role to each page's security. I verified that App Maker is turned on for all of our users. I've ensured that the user has access to the Google Sheet data tables (both what I imported into the App for preview and the data I exported from the deployment). I've even added the user as a Cloud Sql Viewer in our Cloud SQL instance (don't know if that was necessary). This is my first app and I feel like I'm flying blind. I'm obviously missing something but can't figure out what. Any help is much appreciated!
Make sure all the required models can be accessed by the role you assigned to the user.
If the user has another Google account in the same Chrome session, the browser may be switching them to this external user when opening the app. Sign-out from that account or try incognito.
Make sure the deployment has no restriction as shown here; or if it does, allow the username.
I have created a project in firebase. I have also added an app in Admob with two banner ads. When I try to link this app to Firebase project, it always gives me this error :
Unable to link app to Firebase. Please refresh the page and try again.
I tried refreshing the page and link the firebase project but no luck. It suggests me the firebase projects to choose in the dropdown, but when I try to link to a specific project, it doesn't allow me to link.
The error you're seeing,
Unable to link app to Firebase. Please refresh the page and try again.
is the base case message, unfortunately. It means that an unusual error has occurred, one so uncommon that it doesn't have a message of its own.
One reason we have seen it come up for people is that they've linked their AdMob app to a Firebase project, then deleted that project without unlinking it. This leaves the AdMob app tied to the dead project and unable to be linked to a new one. If that might be the case for your app, try this workaround:
Log into the Google Cloud Console (http://console.developers.google.com/)
Restore your project from deletion by using the steps listed here: https://support.google.com/cloud/answer/6251787
Unlink that project from your AdMob app using these steps: https://support.google.com/firebase/answer/6387949
Link your AdMob app to a new project as normal.
typically this happens if the project owner in Firebase is not the same user as the AdMob user trying to do the linking.