Firebase Authentication Costing? - firebase

Does updating user details such as name, password or adding/deleting Custom Claims in firebase authentication also cost charge ?
Suppose if I have 1 million users in my app with using firebase authentication and if I update password of all the users or add custom claims to all the user using firebase Admin SDK. Does this process cost any charge ?

Does updating user details such as name, password or adding/deleting Custom Claims in firebase authentication also cost charge ?
No.
Suppose if I have 1 million users in my app with using firebase authentication and if I update password of all the users or add custom claims to all the user using firebase Admin SDK. Does this process cost any charge ?
No.
I suggest reviewing the pricing information in the documentation. Firebase Auth has no charges except for phone auth. What you are describing is covered by "Other Authentication services" which are not billed.
There are limits to the rate at which you may make API calls, which you should also review.
If you have further questions about billing that are not covered in the documentation, you should send those directly to Firebase support.

Related

How does new Firebase Authentication billing work?

My app supports only login via Email/Password, Google, and Facebook using Firebase Authentication.
Inside the Authentication -> Settings tab, Firebase said to me "Upgrade to Firebase Auth with Identity platform to access this feature."
I upgraded successfully because I want to disable create a new account on the client side and disable delete account. These features are only what I want.
If you interested to know why I want to disable creating a new account on the client side? Please check my question here to know why.
Today I opened Firebase Pricing and I found there are changes in Firebase Authentication, Firebase added 2 new rows in the last as you can see.
I was not charged in Phone verifications because I don't use this provider. I only charged for Firebase Realtime Database and Firebase Storage.
Here are my questions:
Identity Platform Pricing Monthly active users (excluding SAML/OIDC) => If there were 83,000 daily active users (83,000 * 30 = 2,490,000), At the end of the month how much I'll be charged approximately?
Monthly active users - SAML/OIDC => As I said above my app supports only login via Email/Password, Google, and Facebook, Does that mean I'll not be charged about SAML and OIDC?
I hope everything is clear. Thank you.
If you have 83K monthly active users then you won't be charged for 50K users as it falls in the free tier. But you'll be charged for the next 33K users as per the pricing mentioned in Google Cloud Documentation:
From the documentation,
Any account that has signed in within a given month is considered an active user. Inactive users are stored at no cost.
For the given example, you bill would be:
0.0055*33000 = $181.5 / month
my app supports only login via Email/Password, Google, and Facebook, Does that mean I'll not be charged about SAML and OIDC?
Yes, if you are not using SAML/OIDC (Tier 2 providers) then you'll be charged based on Tier 1 pricing mentioned above only.
If you use any Tier 2 provider then you only have up to 50 free MAU and $0.015 / MAU / month thereafter.

Is self signup process available with Google Firebase like it does with AWS Cognito?

I'm looking for out-of-the-box signup and sign-in solution. Based on my research AWS Cognito provides the solution. Custom hosted UI, self-sign-up with configurable required fields.
Does Google Firebase or Google Cloud as a whole have similar functionality? Especially self-sign-up flow with configurable required fields.
I see with Google Firebase email/password authentication provider available for sign-in. but I don't see self sign up process where I can configure the required field during the sign-up process.
Firebase Authentication is the sign-in solution from Firebase. In addition to SDK for Firebase's supported platforms, it comes with a pre-built UI for the most common platforms: web, Android, iOS and Flutter.
The number of pre-defined fields for a user is quite limited though, see for example the definition here for a web user. There is no way to expand this within Firebase Authentication. If you want to store more information for each user, you'll typically do that in one of Firebase's databases (Firestore or Realtime Database) with the user ID as the key for that information.

Does it cost to retrieve the currently logged in user in Firebase

I know how to handle logIns and signUps and how to get current User but I was wondering if it costs a read if we get the user that is logged In or otherwise getting null if not logged in.
In otherwords does
firebase.auth().currentUser;
also takes up a read request.
Firebase Authentication APIs don't cost anything (other than phone authentication, which is covered in the pricing page).
When you say "read request", it sounds like you're talking about Firestore, which is a completely different product with different billing. Calling Firebase Auth APIs has no impact on Firestore billing. Firestore is billed based on your usage of its own APIs. Anything under firebase.auth() is not at all part of that.

How to limit the number of authenticated users with Firebase

I'm currently using Firebase for an online Android game in Kotlin (school project) to authenticate/register users. We're going to release our first version for testing, and I would like to set a limit of people that are able to sign up with Firebase (20 to be specific). Is this possible? Thank you in advance.
There is no way to limit the number of people that can sign in to Firebase Authentication. All authentication does is allowing you to say (and prove) that "I am Max", and there is no way to restrict in Firebase Authentication who can do that (beyond creating your own custom identity provider).
But you can limit what these users can do in the rest of your app. If you're for example using the Firebase Realtime Database or Cloud Firestore, you'd restrict the users who can access the database with their respective server-side security rules (Realtime Database, Cloud Firestore).
If you have your own backend servers, you'll want to pass the ID token from the user to that server, and verify the token there to allow who can access what resources.

Firebase auth login limit with an unique account

I love firebase.
I'm building a android app where customers have to login with a unique account credential (email/password) provided by an admin.
Is there any limit for multiple connections by the same account at the same time?
Thanks for loving Firebase.
There are no inherent restrictions on how many connections a user may have with any of the Firebase products.

Resources