I want to use same user in different tenants. I can duplicate the user for different tenants but I doesn't solve my main problem. User should able to change the tenant without re-login. Therefore token info has to be changed. Is there any best practice solution about this?
I don't use any external authentication provider. If you have also about LDAP or OpenId solution for this issue please share with us.
Prerequisites
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
- What is your product version? v11.3.0
- What is your product type (Angular or MVC)? ASP.NET CORE & Angular
- What is product framework type (.net framework or .net core)? .net core
If issue related with ABP Framework
- What is ABP Framework version?
If issue is about UI
- Which theme are you using?
- What are the theme settings?
1 Answer(s)
-
0
Hi @elcinasyali
When considering ASP.NET Zero's design, it will be better to duplicate the user for the tenants you want that user to login. After that, you can add a combobox to right top corner of the layout (just like we do for delegated authentication) and login the user with selected tenant when the combobox item is changed. Since you will login the user with selected tenant automatically, I think it will not be a problem.
ASP.NET Zero already has an LDAP and OpenID features.
For OpenID, please check https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Features-Angular-Social-Logins#openid-connect-login
For Active Directory, please check https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Features-Angular-Active-Directory