Hi there,
I use abp framework in this qualification :
How to add Microsoft Graph in my abp solution to read my e-mails ? later on i might add webhook to get notified about new e-mails.
Thanks, Mahmoud
I want to logout all open tabs (or show popup describe he logout out) automatically when user logs out in one of them. how can i do this ?
How to apply password setting ? ( Required length, Required lower case character, Required upper case character, Required digit )
I use mvc project
I solved it by return Task.FromResult<IActionResult>(Redirect("~/Account/Login"));
when i not authorized
Big Thanks .
when i not authrized , i want to go to login page not home ? i means i don't want home page to show
hi
You can redirect the user in Index page.
public class IndexModel : MyProjectNamePageModel { public Task<IActionResult> OnGetAsync() { if (CurrentUser.IsAuthenticated) { if (CurrentUser.TenantId == null) { return Task.FromResult<IActionResult>(Redirect("~/Dashboard")); } else { return Task.FromResult<IActionResult>(Redirect("~/HostDashboard")); } } return Task.FromResult<IActionResult>(Page()); } }
Thank you for your solution. it works with me after change the condition (CurrentUser.TenantId == null) to (CurrentUser.TenantId != null)
I want to change default page to dashboad.
Exmaple : when login as host redirect to host dashboard (not home) when login as tenant redirect to tenant dashboard (not home)
How can i do this ? I use mvc project.
hi
This demo has been tested by many developer. How do you run it? What steps are not working?
hi No exception appear. Can u tell me the steps to configure subdomain to use it in local or azure ?
hi
Is the demo works on your localhost?
https://github.com/abpframework/abp-samples/tree/master/DomainTenantResolver
no, not
and i want it to work in development environment (localhost) and production environment (azure)