Hi,
I would like users to just login to the login form. the process then workout that tenant the user belongs to and set the tenant correctly.
I wish not to have them select the tenant or have a URL that denotes the tenant.
- ABP Framework version: v4.2
- UI type: MVC
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace:
- Steps to reproduce the issue:
8 Answer(s)
-
0
hi
There is no way to check the username and password without a tenant or host.
Especially tenants and host use different databases.
-
0
really? this isnt great surely theres a way round this?
I dont want to user to pick a tenant or for me to make subdomains for each tenant.
please can you look again at if this can happen?
-
0
hi
If the same username exists in the database of the tenant and the host, which one should we authenticate if we don't konw tenant or host?
-
0
If the user is unique across the system, eg their email address is their username so would be unique regardless of being Host or Tenant.
If that "username must be unique" flag was set and used to determine/login for a tenant, it would be easy to stop a user witht he same username being setup twice.
How would you then set the tenant for that users session?
-
0
hi
use tenant resolvers
-
0
hi can you point out how to do this plesse? thanks in advance!
-
0
@maliming - I see this is closed, but still not answered? Can you help?
-
0
https://support.abp.io/QA/Questions/1020#answer-c2db31bb-d334-9fd6-53e4-39fb98308bce