Currently I started designing a new multi tenant SaaS application based on the onion architecture in C#
Using a rest web API to expose my services and consume them on 3 platforms. Two web apps (one for the tenants) and one for the tenant’s clients and a mobile application for the tenants.
I was thinking the 3 apps could use the same API but I’m running into some issues as I also have some deamons that should run on the server and add data (incoming mails, SMS, phonecalls, ..) via the API and the deamons needs a different way of authenticating etc.
Is it possible to use the same application core services in different presentation layers or is it “not done”?
Currently out of guesses on which route to go and can’t seem to find the right answer.