All Questions

22
votes
3answers
8447 views

Firebase android : make username unique

Parse will shut down at the end of the year, so I decided to start using Firebase. I need to implement a register process with 3 fields : email, username, password (Email & username must be unique...
23
votes
2answers
9357 views

How do you prevent duplicate user properties in Firebase?

I'm Using FirebaseSimpleLogin to create users and handle authentication. When I try and create a new user with simple login via the $createUser() method, firebase won't create the user if the email a...
33
votes
1answers
11629 views

How to prevent other access to my firebase

How do I prevent other users that can be use my firebase url? What must I do to secure it to only my domain?
12
votes
4answers
4917 views

How do I lock down Firebase Database to any user from a specific (email) domain?

I have a small, personal Firebase webapp that uses Firebase Database. I want to secure (lock down) this app to any user from a single, specific domain. I want to authenticate with Google. I'm not clea...
11
votes
2answers
22529 views

When I refresh my website I get a 404. This is with Angular2 and firebase

When I refresh my website I get a 404. This is with Angular2, typescript and firebase. I've deployed to firebaseapp with my Angular2 app. Routes seem to change fine but when I refresh the browser it...
37
votes
1answers
35947 views

Firebase Permission Denied

I'm relatively new to coding and am having trouble. I have this code to send data to firebase app.userid = app.user.uid var userRef = app.dataInfo.child(app.users); var useridRef = userRef.child(a...
6
votes
1answers
7349 views

What Firebase rule will prevent duplicates in a collection based on other fields?

I'm creating an application which lets users create items and then allow other users to subscribe to those items. I'm struggling to craft a rule that will prevent users from subscribing more than once...
33
votes
9answers
24439 views

Is there any way to do email confirmation for Firebase user creation and/or password reset?

Question says it all. In Firebase, how do I confirm email when a user creates an account, or, for that matter, do password reset via email. I could ask more broadly: is there any way to send emails o...
5
votes
2answers
731 views

How to create public/private user profile with Firebase security rules?

{ "rules": { "users": { "$uid":{ //Private whatever under "uid" but Public is exposed ".read": "auth != null && auth.uid == $uid", ...
1
votes
1answers
852 views

Firebase security rules to check unique value of a child #AskFirebase

The structure of my firebase database is as shown above. How do I ensure the urls are unique and there are no duplicates? Since, these are urls I cannot use them directly as paths, I am forced to us...

Previous Next