hi
You need to replace the built-in Login page and add your
step2 choose tenant
page.The system will redirect to a page in authServer where the system will display a list of tenants that the user has been assigned to. user can choose from the tenants assigned to them.!
The redirect code exists on
OnGetExternalLoginCallbackAsync
method ofVolo.Abp.Account.Pro.Public.Web/Pages/Account/Login.cshtml.cs
.so you redirect the user to your custom page on the
OnGetExternalLoginCallbackAsync
method. then show the tenant list and set the new tenant for a new user.You better download the source code of
account pro
to check the code.
thank you. it's work. How about local login?
Hi team! I want to enable one user to log in and join multiple tenancies.
Step 1: At the login screen, I don't select a tenant when logging in with my Microsoft account.
Step 2: The system will redirect to a page in authServer where the system will display a list of tenants that the user has been assigned to. user can choose from the tenants assigned to them.!
Step 3: Select the tenant that the user wants to switch to, then press save. The system will redirect to the Angular page with the chosen tenant.
In current tenant implementation, if a user belongs to many tenant, he/she needs to register many account. Guide me to create flow for the above descriptions?
Can you help me?
userMenu.removeItem(eUserMenuItems.LinkedAccounts); userMenu.removeItem(eUserMenuItems.MyAccount); userMenu.removeItem(eUserMenuItems.SecurityLogs); userMenu.removeItem('Gdpr.GdprNavigation');
Thanks it work
hi
Is this menu page MVC or Angular?
Menu page is Angular
Can someone help me to solve it?
after run abp install-libs
, clear cache browser, some Url can redirect like:
- authserver/__bundles/LeptonX.Global.xxxxxx.css
- authserver/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2
- authserver/Themes/LeptonX/Global/side-menu/libs/bootstrap-icons/font/fonts/bootstrap-icons.woff2?30af91bf14e37666a085fb8a161ff36d
but there are some Urls still not redirect to correct subPath - Themes/LeptonX/Global/side-menu/css/bootstrap-dark.css - Themes/LeptonX/Global/side-menu/css/dark.css