I am considering using Auth0’s Free plan. To avoid unexpected charges, I would like to block further logins once the Free plan’s MAU limit is reached. Is this possible?
Welcome to the Auth0 Community!
There is no out of the box feature in order to block user logins when MAU is exceeded. It would require a complex custom build solution where you track these logins via a server side process and block the users using a PostLogin Trigger whenever a flag is set by your application.
However, this could raise some issues where you could easily miscalculate the count and block users prematurely or too late and creating a very poor user experience. Also, such a custom implementation can be hard to maintain. Also, you would need a very good understanding of MAU, how are they calculated and what exactly classifies as a MAU in order for your application to keep track of that.
In addition to the information above, if you do not have any billing information attached to the tenant when exceeding this limit, your tenant will be blocked so I would highly advise either upgrading once your application breaches this limit.
If you have any other questions, let me know!
Kind Regards,
Nik