hi fjinc
You can use IIdentitySessionRepository
to remove all user sessions.
https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/EfCoreIdentitySessionRepository.cs#L90-L94
hi
You can consider adding a component to the layout/global page to use Singalr. in this way, you can globally listen to the event and show some notifications.
https://abp.io/docs/latest/framework/ui/blazor/layout-hooks
hi
When I add migration with module dbContext then It throws error that no dbContext was found. The startup project is main host application and selected project is main entity framework module.
Please share the command, execution folder and exception details.
Can you try to run dotnet ef migrations add TestName
in your application ef core project?
Thanks
hi
Can you share what code changes you have done?
Thanks
hi
The unique_name,given_name,email_verified,phone_number_verified
claims are created by AbpUserClaimsPrincipalFactory
https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/AbpUserClaimsPrincipalFactory.cs#L14
The session_id
is created by IdentitySessionClaimsPrincipalContributor(AbpIdentityProDomainModule Volo.Abp.Identity.Pro.Domain)
hi
Please try to remove DynamicLocalizationResourceContributor
and try again.
public override void ConfigureServices(ServiceConfigurationContext context)
{
PostConfigure<AbpLocalizationOptions>(options =>
{
options.GlobalContributors.Remove<DynamicLocalizationResourceContributor>();
});
}
: )