hi
In this case, you add your auth server as an external login provider(like Google login)
So add the account module and AddAbpOpenIdConnect(auth server)
to your client applications.
You will see a login option on your client application login page.
Thanks.
hi
The loading time of the modal is too long
What is the total load time?
Can you check the EF Core query info? Enable information log level for EF Core to see SQL query statements.
https://abp.io/support/questions/8622/How-to-enable-Debug-logs-for-troubleshoot-problems
Thanks.
hi
Change your log code in all projects(API. AuthServer
)
Then share all the logs.txt files again.
liming.ma@volosoft.com
var loggerConfiguration = new LoggerConfiguration()
.MinimumLevel.Debug()
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
.MinimumLevel.Override("OpenIddict", LogEventLevel.Verbose)
.Enrich.FromLogContext()
.WriteTo.Async(c => c.File("Logs/logs.txt"))
IdentityModelEventSource.ShowPII = true;
IdentityModelEventSource.Logger.LogLevel = EventLevel.Verbose;
var wilsonTextLogger = new TextWriterEventListener("Logs/identitymodel.txt");
wilsonTextLogger.EnableEvents(IdentityModelEventSource.Logger, EventLevel.Verbose);
Thanks.
hi
You can inject your app services, repository, or any services into TodayViewComponent
. then query the database by them.
[Widget]
[ViewComponent(Name = "CmsToday")]
public class TodayViewComponent : AbpViewComponent
{
private readonly IDashboardAppService _dashboardAppService;
public TodayViewComponent(IDashboardAppService dashboardAppService)
{
_dashboardAppService = dashboardAppService;
}
public IViewComponentResult Invoke()
{
return View("~/ViewComponents/Today.cshtml",
new TodayViewComponent());
}
}
Thanks.
hi
Hi, can you please help me with disabling error message "You have to enable at least one two factor provider to enable two factor!" which appears when user enables 2FA in /Accounts/Manage page without verifying email or phone, here is the screenshot:
You can add a valid authenticator, then enable 2FA.
Thanks.
hi
Please send an email to info@abp.io
Thanks.