Open Closed

Setup OpenID connect so that users can authenticate to an external support portal #7571


User avatar
0
pablo@ccalp.net created
  • 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)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Are you talking about multi-tenancy with sub domain?

    we have an example:

    https://github.com/abpframework/abp-samples/tree/master/DomainTenantResolver

  • User Avatar
    0
    pablo@ccalp.net created

    The problem is not with my application, is trying to get the users from the tenants to log in to a support portal.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    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 is tenanta.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

Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 05:21