Hello, team š I hope you're doing well. Iām reaching out to request your guidance on setting up a solution architecture using the ABP Framework, where I need to centralize authentication and identity management in a SaaS Admin App, while keeping a second custom modular app completely decoupled and hosted in a separate repository.
š§© Context Iām designing a multi-application architecture using ABP Framework and Blazor Server, where authentication is centralized but each application has its own independent domain and purpose.
š§ Solution Overview ā App 1: SaaS Admin App (Tiered Architecture)
Based on ABP Framework with a tiered setup: Auth Server, API Host, Blazor UI. Includes all ABP modules, including Pro features, except the Chat module. Manages: Tenant administration User and role management IdentityServer (client and resource management) Intended to be the central authentication provider for other applications. ā App 2: Custom Modular App (Decoupled)
Also ABP-based, but: Hosted in a separate repository. Does not use Pro modules (e.g., SaaS, Identity Pro, Feature Management, maybe AuditLoggin). Has its own API Host and Blazor UI. Must authenticate against the Auth Server in App 1 using OpenID Connect (OIDC). Does not replicate identity or tenant logic, only consumes the auth services.
š Requirements Centralized authentication via OpenIddict/IdentityServer hosted in the Admin App. Secure and isolated communication between apps (CORS, scopes, audiences). Seamless authentication/authorization flow between the Custom App and the Auth Server. Clear separation of concerns and dependency boundaries between both applications.
š Request Please provide guidance, a recommended approach, or a project template to implement this architecture using ABP Framework, as described above. I would highly appreciate suggestions on how to properly configure both solutions, ensuring that the custom modular app can securely authenticate and operate without duplicating identity logic. Thank you in advance for your support!