I want to modify the database value that has the uid of all users as the key after getting uid through listUser(), but listUser() has 1000 max. If there is a good way to get uid of all users, please let me know Answer The Firebase Admin SDK supports pagination to cycle through all the registered user accounts. Follow the
Tag: firebase-authentication
Get Twitter profile url from Firebase OAuth
Hello i want to get a profile Url from the Firebase OAuth response, currently firebase give this about the profile : Have you any idea if its possible ? (I work with a serverless project) Answer You will get additional user info when the sign in attempt resolves: For more on this, check firebase.auth.UserCredential.
How can I check if user exists in Firebase?
I finally got my authentication to work in terms of creating users and logging in and out. But now, I want to implement something that checks if the user already exists in Firebase. I’ve looked it up but can’t seem to find a concrete answer. For example, if my email address is: abc12@gmail.com and someone else tries to signup with
How to send FCM notification to all android devices using Node.js
I want to send the notification to my Android app developed using Ionic t from Node.Js code. I have tried following code and getting Exactly one of topic, token or condition is required. How can I send notification all my users without any condition? Answer If you want to send a notification to all users, then the best thing is
Setting limits on file uploads via Firebase auth and storage without server in the middle?
I’m learning about Firebase auth and storage in a web app. My idea asks users to login via Firebase and then upload an image. I can see that this is possible from Firebase auth and storage. However, I would like to put limits on the file count and file-size they can upload. Is it possible to control uploads within the
How to change email in firebase auth?
I am trying to change/update a user’s email address using : But I am getting …changeEmail is not a function error. I found the reference here from the old firebase docu. So how to I do it in the 3.x version? Because I cant find a reference in the new documentation. Answer You’re looking for the updateEmail() method on the
How to prevent simultaneous logins of the same user with Firebase?
I’d like for the new session to essentially “log out” of any previous session. For example, when you are in an authenticated session in one computer, starting a new session on another computer and authenticating with firebase on our app will log out the other session on the first computer. I haven’t been able to find any method that allows