Check your AbpAuditLogstable to make sure the ID column is Identity
See <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/1330#issuecomment-400186905">https://github.com/aspnetzero/aspnet-ze ... -400186905</a>
I did not find this problem according to your code. After logging in, _principalAccessor can get AdelRoles information.
You can set a breakpoint to see if loginResult.Identity contains the Claim information you added. Similarly, you can decrypt the access_token to see if there is AdelRoles information.
<a class="postlink" href="https://jwt.io/">https://jwt.io/</a>
Can you try it out according to the error message?
Add CreateOrEditGameProductModalComponent to the NgModule to fix it. Add ViewGameProductModalComponent to the NgModule to fix it. Add GameProductsComponent to the NgModule to fix it.
already fixed.
<a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/commit/b20c367744296a10b89c4c255094b600c8bdded5#diff-d6079b3a17e1fb63a7b9442a0bf90a81">https://github.com/aspnetzero/aspnet-ze ... 2a0bf90a81</a>
When the http status code is 500, you can see the error log on the server side.
The code for AbpUserConfiguration is here: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/92597962f2240b14dc2d67ac3e5ac73ddd95163e/src/Abp.AspNetCore/AspNetCore/Mvc/Controllers/AbpUserConfigurationController.cs#L16">https://github.com/aspnetboilerplate/as ... ler.cs#L16</a>
I guess you forgot to execute: "npm run create-bundles"
<a class="postlink" href="https://aspnetzero.com/Documents/Getting-Started-Core#run-the-project">https://aspnetzero.com/Documents/Gettin ... he-project</a>
Application layer methods should not rely on HttpContext or Request . If you want to get it, you can get it from the controller and pass it as a parameter to the application layer.
#5293 There is a similar discussion here.
I guess this is related to: <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/1505">https://github.com/aspnetzero/aspnet-ze ... ssues/1505</a>