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

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 20, 2025, 18:00