I’m building an app and have concerns regarding rate limits. Not just within AuthO, but other databases and services that users will be able to access.
Because of these concerns, I want to restrict the number of users to 10. and give the users a limited amount of time to ‘play’ on the application site. After this time I want to remove their permissions automatically to allow new users to sign up. This will happen in parallel with their data in the DB, in order to keep within user rates.
Could this be done? What tools and techniques do you recommend using?
Interesting use case! I think this could certainly be done, and Auth0 provides plenty of tools to do so The /users endpoint would definitely be helpful, and each user object has a created_at value which could help you keep track of when users were created. Auth0 provides a number of Management API SDK Libraries that can be found here - These are designed to be useful in scenarios like you’ve described where interacting with the Management API are the primary focus.
Thanks so much for your response. I’m finally starting to get the hang of the management api! I’m having loads of fun .
I have a follow up question though. I currently have two users in my api. Both belong to me. One is a Github account and the other is the default google user.
Is it safe to purge both my Github and Google accounts? Are there any gotchas (i.e being locked out)?