When accessing the "Claim Types" or "Linked accounts" page, you get an exception ( see [1] and [2] ). Looks like these pages are not working if you use separated tenant schema ( tested with default admin account )
- ABP Framework version: v6.0.2
- UI type: Blazor
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace: see below
- Steps to reproduce the issue:" create new project with "Separated tenant schema" and open one of the problematic pages
[1] Claim Types exception https://pastebin.com/MaEEQeXb
[2] Linked Account exception https://pastebin.com/rZ2SxkBs
17 Answer(s)
-
0
we need to use user information ( like user name, last name, etc ) in our queries - this only works if the user is on the same context.
so this moves also LinkUser and ClaimType to the tenant context :/ is there Identitydbcontext for user information (IdentityUser) only ?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi
Please try to remove
ClaimTypesandIdentityLinkUserfromFlamingaTenantDbContexthttps://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/IdentityDbContextModelBuilderExtensions.cs#L160
https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/IdentityDbContextModelBuilderExtensions.cs#L254
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
@christianharoh abp suite will do this for you, just check "Separated tenant schema", details can be found in thedocumentation
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
