Thank you for the reply appreciate it. I'll describe my use case in more detail and hopefully that will provide some more clarity.
I'm building out an end to end ecommerce platform. It's a combination of webflow (landing pages), shopify (store), intercom (webchat), discourse (forums), slack (group chat), and many more.
I'm now looking at auth as I've actually built a lot of the "stack" and now seems like a good opportunity to bring much of the functionality together.
I've enabled a scenario where an individual can spin up many FE silos with as many domains as they have - using the BE SaaS I mentioned before. So someone can spin up a coffee store community, or a pet community or [insert whatever fad they are passionate about fad] community. Users who use the SaaS can spin up as many FE silos as they want. If they have 50 domains, then so be it.
Each FE could have from hundreds to thousands of user registrations because it's the general public who encounters the domain and who would register to join that community.
But for the SaaS user, they could have millions of accounts to manage depending on how popular they get.
For the enterprise (me) which manages all the domains, and FE instances via the SaaS. Now it runs into the tens of millions 😅.
------
This is why I felt being an identity provider would be better. From the customer point of view. I want them to register just once. Then if they come across another store, forum, group chat, they don't have to register again, they can just auth to that FE.
Also from my point of view, I want just 1 auth infra to maintain, but managing millions of domains.
Another thing, this is a bootstrapped startup. I'm merely trying to set-up a proof of concept. I'm launching next year and my intention is to initially get out of the gate with very low costs (for the infra) and grow slowly and then transition to cloud services when it's sustainable enough to do so.
Hopefully this makes my use case clear. Let me know if you need more info. Thanks