Hello ABP Support Team,
We are facing issues with Domain-Based Tenant Resolution while using ABP Framework 9.0.4 (Angular + OpenIddict).
We followed the official ABP community article below **exactly **to implement the domain-based tenant resolver:
https://abp.io/community/articles/how-to-use-domainbased-tenant-resolver-in-abp-with-angular-and-openiddict-v9y8da7v
⚠️ Note: The sample source code provided in the article is based on ABP 10.0.2, while our application is using ABP 9.0.4.
Environment Details
ABP Version: 9.0.4
Frontend: Angular
Authentication: OpenIddict
Tenant Resolution: Domain-based tenant resolver
Hosting: Localhost (custom domains) / Deployed environment
Source Code (Public Repository)
GitHub repository with full source code and configuration:
https://github.com/RISHI-KH-2611/Test/tree/sourcecode
We recreated a demo project in **ABP 9.0.4 **and followed the exact same implementation and steps as mentioned in the article and the sample project.
Public Deployed URL (For Testing)
https://dentpalqaaumtech.org/
- Username / Password: ABP default credentials
Issues Observed
1️⃣** Localhost + Custom Domains**
Issue: Infinite login redirect loop
Steps:
Run the application locally
Configure and access the app using custom domains
Attempt to log in as a tenant user
Observed Behavior:
Login page continuously redirects
Authentication never completes
Results in an infinite login loop
2️⃣** Deployed Environment**
Issue: Tenant users cannot log in (Host admin works)
Observed Behavior:
Host Admin can log in successfully
Tenant users are unable to log in
Login either redirects back to the login screen or fails silently after authentication
Expected Behavior:
Tenant users should be able to log in based on domain resolution
Authentication flow should work consistently for both host and tenants
Request for Assistance
Could you please help us understand:
- Whether domain-based tenant resolution behaves differently in ABP 9.0.4
- If any additional configuration is required for Angular + OpenIddict in ABP 9.x
- Whether this is a known issue or limitation in ABP 9.x
- Recommended workaround or fix if upgrading to 10.x is the only solution