Multitenant Identity Server 4

后端 未结 1 1620
孤城傲影
孤城傲影 2021-02-04 10:15

I\'m trying to implement an IdentityServer that handles an SSO for a multitenant application. Our system will have only one IdentityServer4 instance to handle the authentication

相关标签:
1条回答
  • 2021-02-04 10:35

    if you haven't figure out yet, here is the solution

    private readonly IIdentityServerInteractionService _interaction;
    
    
     var context = await _interaction.GetAuthorizationContextAsync(model.ReturnUrl);
                var tenant = context.Tenant;
    
    0 讨论(0)
提交回复
热议问题