我正在尝试构建一个多租户ASP.NETCore2.1 WebApi。我希望从jwt令牌中选择租户,而不是从url或端口选择租户。因此,当用户请求令牌时,我将它放入令牌中。但是,当我试图解析Autofac多租户策略(ITenantIdentificationStrategy)中的ITenantIdentificationStrategy时,如下所示:
public bool
我有一个多租户应用程序,允许每个租户拥有自己的子域/自定义域和身份验证。在此应用程序中,我使用OpenIdConnectAuthentication,是否可以将授权设置为动态的(例如,当租户拥有子域tenant1.mysite.com或自定义域tenant1.com时-授权var oidcOptions = new OpenIdConnectOptions
我按照以下步骤创建了一个混合登录解决方案Hybrid authentication in .net core with Open Id Connect and local database 在运行应用程序,然后单击Azure Active Directory登录按钮时,我收到以下错误: An unhandled exception occurred while processing the request.
SecurityTokenInvalidIssuerException: IDX10205: Issuer validation failed. Issuer: '[PII is