Skip to content
Discussion options

You must be logged in to vote

IMHO it could be possible - and the current documentation missed for multi tenant - may be because it's obvious to achieve by implementing Option Pattern? https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/options?view=aspnetcore-5.0

You can modify any IOptions values by implementing IConfigureOptions or IPostConfigureOptions

I have not tested - but you can try following and see if that works for you. If implementing IConfigureOptions doesn't work then try implementing IPostConfigureOptions

  1. Define TenantIdentity options
internal class TenantIdentityOptions : IConfigureOptions<IdentityOptions>
{
     private readonly IShellConfiguration _shellConfiguration;
     public 

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@mariojsnunes
Comment options

@mariojsnunes
Comment options

@xperiandri
Comment options

@Piedone
Comment options

Answer selected by mariojsnunes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants