After running for 2 years without hitting any quota limits, My app is hitting a daily quota limit on login (firebase phone authentication) which is not allowing any users to use the app and saying "SMS Quota for this project has been exceeded".
I checked firebase auth usage and its far way from the free tier limit(10K), and also it's on Blaze pay as you go plan.
I also checked Google Cloud Platform quotas page and it shows that all quota are within limit..
GCP support replied the following:
"Cloud Functions quotas are all within limits, the quota exceeded messages are coming from another system."
Any idea haw can this be solved?!
From now on firebase new projects currently have an SMS daily quota of 50 / day.
You can see: firebase console > Authentication > sign-in method
if daily sms are exceeding limit
go to : firebase console > open settings > open usage and billing check your daily limit.
Firebase Identity platform daily limit is 10sms/day
Im using Identity platform in my project
You will find details info about it in the below link
Firebase phone auth daily limit info
Related
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.
We are using Firebase on our project and we are expecting a lot of traffic on the website in the upcoming days.
We saw the firebase sign-up limit, and we are wondering if you found a way to disable it?
Or increase it above 1 000, we exceptionally need 50 000 for 8 days.
Image of firebase auth quota
firebaser here
You can request a temporary increase of sign-up quota in the authentication control panel in the Firebase console. There is no way to disable quota altogether.
If you need something that is not covered by the quota settings in this page, reach out to Firebase support for personalized help.
The firebase auth doc shows that you can only make Firebase Auth API calls up to 500 requests/second per service account & 1000 requests/second per project.
e.g. If I use Firebase Auth Admin SDK to invoke getUserByEmail or updateUser, do these operations count toward API limits?
How about verifying id tokens using verifyIdToken API? If my project verifies all requests coming in to the server from clients by verifying authIdToken, does that mean that my server's upper scaling threshold will be 1000 requests/second per project because the server's one of downstream services, Firebase Auth, can only accept up to 1000 requests/second to verify auth id tokens?
Firebase doc seems to be lacking details related to these API limits.
Yes, 1k/s includes all limits from the Admin API. I feel if the downstream can only handle 1k/s you can always implement a backoff or throttle algorithm to handle higher burst load at times. I assume these are mostly sufficient for user auth as user don't login frequently. For machine to machine, I suggest you use a different auth system.
I know about the Auth API quotas from Firebase Docs.
And I want to know what happens when these quotas are exceeded?
Do I get charged more money?
Or does the Auth functionality stop until the limit is over?
In Firebase, if you use the "Free" or "Spark" plan, if you exceed any quota (Not only Auth), the functionality will not work until the limit is over. But if you use the "Pay As You Go" plan, you will get charged more money.
Firebase charges about $0.06 per verification. Does that mean they only charge AFTER the user successfully verifies his phone? Or do they charge everytime a user requests a code?
If you hover over the question mark, "?", in the pricing page it says
Prices are per successful verification.
On the Blaze plan, Phone Authentication provides a perpetual free
tier. The first 10K verifications are provided for free each month.
You are only charged on usage past this free allotment.
All other Firebase Auth features are free to use on all plans.