Try
[ExposeServices(typeof(LoginModel))]
public class MyIdentityServerSupportedLoginModel : IdentityServerSupportedLoginModel
{
public MyIdentityServerSupportedLoginModel(IAuthenticationSchemeProvider schemeProvider, IOptions<AbpAccountOptions> accountOptions, IIdentityServerInteractionService interaction, IClientStore clientStore, IEventService identityServerEvents, IOptions<IdentityOptions> identityOptions) : base(schemeProvider, accountOptions, interaction, clientStore, identityServerEvents, identityOptions)
{
}
public override Task<IActionResult> OnPostAsync(string action)
{
// check....
return base.OnPostAsync(action);
}
}
var users = (await _roleRepository.GetDbSetAsync()).Where(x => EF.Property<int>(x, "PropertyAdded") == 1).ToListAsync();
See
https://gist.github.com/realLiangshiwei/cf96030428f67a5e20c4770c1a5e56a8,
https://gist.github.com/realLiangshiwei/462dc4888a0590606c27a064c46d4918
Maybe check it remotely will be better, can we meetting? shiwei.liang@volosoft.com
Sovled
HI,
Got it, I will check it out.
HI,
Can I check it remotely? shiwei.liang@volosoft.com
Okay,
Please email me, shiwei.liang@volosoft.com
I am able to get it redirected now but when redirected it is loading the login page in FinRecon . I want the Home Page of FinRecon to be loaded default when redirected from MainApp.
Sorry, you can't.
Also I want the menu options which is shown in the screen shot to be removed from the FinRecon App ( Dashboard, Saas and Administrator Menus to be removed from the FinRecon App)
See https://docs.abp.io/en/abp/latest/UI/Angular/Modifying-the-Menu#how-to-add-a-navigation-element