sourcefuse / loopback4-starter

Loopback 4 starter application. Multi-tenant architecture supported. Authentication, Authorization, Soft deletes, environment vars, Audit logs, included.
MIT License
159 stars 60 forks source link

How to login using secondary tenant #96

Open sambathsrey opened 2 years ago

sambathsrey commented 2 years ago

currently, every time I login, the AuthUser is logged with default_tenant. How to login and AuthUser logged with other tenant beside defaultTenant?

Surbhi-sharma1 commented 2 years ago

beside default tenant ,you need to add other tenant in the db along with credentials of the auth user to be logged in.