mcmasterp
I understand where you're coming from, but I have multiple, I think, good reasons for this choice.
I don't want to deal with the security risk of building my own authentification layer. By forcing an openID provider, Spokes itself can then rely on the standard Microsoft OpenID library.
This is my own bias, but as a self-hoster myself, I basically will not install an app that doesn't support SSO. I want my users to have one account and then be able to use any service I self-host. I feel like, as an admin, having to manage individual accounts for each services is a nightmare.
I feel like bundling Casdoor is the perfect middle ground. It allows people who don't have their own identity provider already setup to quickly get Spokes up and running. It also provides them with a now fully functionning identity provider they can use with other apps. In short, you can setup other self-hosted apps to use the Spokes Casdoor instance. This way, users can login to other apps with the same account they use to login into Spokes.
I don't expect to change this architecture, but you are right that I need to find ways to make this more user friendly. I suspect there might be a way to use the Casdoor API to create users and invitation links. This would allow me to create a page to manage users directly inside Spokes as you suggested. I will add that to my list of things to look into.
Thank you for your feedback, it is very very appreciated!