Open Closed

Passing tenantId in Identity login page #2347


User avatar
0
shobhit created
  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi Team, We have hidden "Tenant selection" control in login page. Now we would like to pass the "tenantId" either in request header or as query string but it is not working. In header we are passing "__tenant" and in query string we have tried with "tenantId" parameter.


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The Login is MVC. So you can't control its header.

    https://localhost:44388/Account/Login?__tenant=your-tenant_name

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09