firebase-authentication

what causes “permission denied”-message with FIREBASE and FLUTTER

强颜欢笑 提交于 2020-01-15 12:25:29
问题 I've got the error 'W/SyncTree(31625): Listen at /address failed: DatabaseError: Permission denied' while sending a request to firebase with an anonymous firebase user and without fancy firebase database rules :) . ..and i want to find out what causes this message. EDIT: error is the same with an existing user, means user signIn seems to work but accessing database not. What i've done so far: Set up firebase (including adding google_service.json, dependencies in pubspec.yaml) - works so far

com.google.firebase.FirebaseException: An internal error has occurred. [ 7: ]

徘徊边缘 提交于 2020-01-15 06:37:10
问题 I used to create accounts and connect to my application with firebase but then soon when I disconnected I couldn't create accounts. After 1h of that, I managed to create an account and when I disconnected to see if the problem was resolved, I realize that it's still there. By doing task.getException() in case of account creation failure, I get this error: "com.google.firebase.FirebaseException: An internal error has occurred. [7:]" Do you have an idea of ​​the cause of the problem? 回答1: I

Firebase auth internal error “SignUp are blocked” on web

为君一笑 提交于 2020-01-14 13:56:59
问题 I'm using Firebase Auth for a site and chosen password authentication and Google Sign In. When I ran it I got the following: {"error":{"code":403,"message":"Requests to this API identitytoolkit method google.cloud.identitytoolkit.v1.AuthenticationService.SignUp are blocked.","errors":[{"message":"Requests to this API identitytoolkit method google.cloud.identitytoolkit.v1.AuthenticationService.SignUp are blocked.","domain":"global","reason":"forbidden"}],"status":"PERMISSION_DENIED"}} I

This operation is not supported in the environment this application is running on. “location.protocol” must be http or https

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-14 11:36:24
问题 Using Firebase and React Native to authenticate users into my app. One thing I have noticed is when trying to use facebook login however I am thrown this error: This operation is not supported in the environment this application is running on. "location.protocol" must be http or https. Not really sure how to solve it honestly 回答1: You must be using signInWithPopup/Redirect. This is only currently supported in a browser environment. You will need to use some native library (facebook/google) to

$authWithPassword is not a function in AngularFire 2.x

时光毁灭记忆、已成空白 提交于 2020-01-14 02:04:22
问题 I've seen posts about this problem before, but they're either outdated or offer a solution very similar to my setup. Basically, I have two functions in my controller: authCtrl.login and authCtrl.register. The register's call to Auth.$createUserWithEmailAndPassword() works fine, but the login's call to Auth.$authWithPassword() does not, as I'm getting a "..is not a function" error. Can't for the life of me figure out what is wrong here. Here's my setup: auth.service.js: angular.module(

$authWithPassword is not a function in AngularFire 2.x

戏子无情 提交于 2020-01-14 02:04:07
问题 I've seen posts about this problem before, but they're either outdated or offer a solution very similar to my setup. Basically, I have two functions in my controller: authCtrl.login and authCtrl.register. The register's call to Auth.$createUserWithEmailAndPassword() works fine, but the login's call to Auth.$authWithPassword() does not, as I'm getting a "..is not a function" error. Can't for the life of me figure out what is wrong here. Here's my setup: auth.service.js: angular.module(

ReactJS app authentication: Firebase+FirebaseUI Uncaught Error: Firebase App named '[DEFAULT]-firebaseui-temp' already exists

北城以北 提交于 2020-01-13 20:42:10
问题 I'm having trouble with my code. I'm building a one page web app in ReactJS with 3 tabs. When the user goes to one tab, the authentication form from FirebaseUI should show up. The thing is that it's working only the first time and the second time, if I change to another tab and come back, it crashes, React re-renders the component that renders the div with the authentication form and throws the error: "firebase.js:26 Uncaught Error: Firebase App named '[DEFAULT]-firebaseui-temp' already

Firebase: How to programmatically generate a jwt token for a particular user similar to ` firebase.auth().currentUser.getIdToken(false)`?

笑着哭i 提交于 2020-01-13 19:07:49
问题 I have a http Cloud Function that expects a jwt token to be passed in the Authorization header (similar to Will's answer in this question: How to protect firebase Cloud Function HTTP endpoint to allow only Firebase authenticated users?). This cloud function verifies the token with the function admin.auth().verifyIdToken(<token>) . In my client code, I use the code firebase.auth().currentUser.getIdToken(false) to generate a token to include in the http request in the aforementioned header. I

Creating user in Firebase gives me an error

大兔子大兔子 提交于 2020-01-13 06:08:26
问题 So I'm following a Savvy Apps tutorial in order to learn Vue.js. This tutorial uses Firebase with Firestore. Since Firestore is in Beta (as the tutorial says), changes might happen - and I think that might be the case here. In any case, I'm trying to sign up a new user. I fill out the form and click 'Sign up' and I get this error message: Error: Function CollectionReference.doc() requires its first argument to be of type string, but it was: undefined But looking in Firebase, I see that the

Firebase error no debug.keystore in .android folder

大憨熊 提交于 2020-01-13 04:12:11
问题 I tried to connect Firebase to my android app but the error says Firebase: Could not find keystore in file ({0}) specified for debug build type. {2} I see that there is no debug.keystore in my .android folder. 回答1: I've got the same issue, for fixing it, I've done the following step Go to your google firebase account Click on Project Settings Download the google-services.json file and save it in {your-project}/app/google-services.json The rebuild your project and it should work 回答2: Open your