- 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
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
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
refererI 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
refererhttps://abp.io/docs/latest/framework/architecture/multi-tenancy#custom-tenant-resolvers
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
