- ABP Framework version: v7.X.X
- UI Type: Angular
- Database System: EF Core (SQL Server)
Hello, I want to allow my users to log in to a customer support portal using their current user account, the problem that I'm facing is that each tenant has its own database and I'm resolving them using the subdomain. In my support portal, I can set up OpenID connect, but for a single endpoint, so it is not finding the users. Is there a way I can achieve this?
Thank you.
3 Answer(s)
-
0
Hi,
Are you talking about multi-tenancy with sub domain?
we have an example:
https://github.com/abpframework/abp-samples/tree/master/DomainTenantResolver
-
0
-
0
Hi,
I don't know about the external support portal.
You need to find a way to pass the tenant parameter(query string. etc), you may need to get help from the external support portal
Another possible way is to get a tenant from
referer
I assume the URL for this support portal istenanta.support-portal.com
, and it will pass the current host when redirecting to auth server.then you can custom a tenant resolver to get the current tenant from
referer
https://abp.io/docs/latest/framework/architecture/multi-tenancy#custom-tenant-resolvers