hi
DisableConventionalRegistration will not add services to the DI container. so OnRegistered will not call. this is strange
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Authorization/Volo/Abp/Authorization/AbpAuthorizationModule.cs#L69-L75
hi
The DisableConventionalRegistration should work also.
Can you share the code of PortalAccessPermissionDefinitionProvider?
hi
You can remove the services from AbpPermissionOptions, right?
Looks like there's something wrong with your HTTPS certificate.
https://devblogs.microsoft.com/dotnet/configuring-https-in-asp-net-core-across-different-platforms/ https://www.google.com/search?q=free+ssl+certificate
hi
My timezone is UTC+8
https://www.worldtimebuddy.com/event?lid=1816670&h=1816670&sts=28255200&sln=10-18&a=preview
and deployed it here: https://kog-vanilla-blazor.azurewebsites.net/ https://kog-vanilla-api.azurewebsites.net/
hi
Thanks. I will check the code.
You don't seem to refer to the code I shared.
You should first authenticate the user and then issue cookies. The cookies should contain correct user information, not a Login claim. Then, try to authenticate the cookies in the middleware.
hi
You don't need to refer to the current implementation. You don't need to use CreatePermissionGroupDefinitions and Lazy<Dictionary<string at all.
You can maintain a collection by yourself.
hi
You can replace the FakeCurrentPrincipalAccessor in ConfigureServices method.
https://github.com/abpframework/abp/blob/dev/framework/test/Volo.Abp.AspNetCore.Mvc.Tests/Volo/Abp/AspNetCore/Mvc/Auditing/AuditIntegrationServiceTestController_Tests.cs#L28