[英]Using mutitenancy with identity server 4
We are trying to use saaskit with Identity Server 4 to make multi-tenant application using Identity Server. 我们正在尝试将Saaskit与Identity Server 4一起使用,以使用Identity Server制作多租户应用程序。
Our requirement is as follows. 我们的要求如下。
We have common login page for all clients. 我们为所有客户提供通用的登录页面。 However, once client user will get logged in, we are showing the client list to which user has access and on click of client name user will be redirected to respective clients dashboard.
但是,一旦客户端用户登录,我们将显示该用户有权访问的客户端列表,并且在单击客户端名称时,用户将被重定向到相应的客户端仪表板。
To achieve this we have used below kind of approach. 为了达到这个目的,我们使用了以下一种方法。
So, can anyone tell what is the issue and is the project structure is correct ? 那么,谁能说出问题所在,项目结构是否正确?
When you click on the Client link in the IdentityServer portal, it should bounce you over to your client, which should then immediately begin the login process by bouncing you back through IdentityServer and finally back to the Client again. 当您单击IdentityServer门户中的“客户端”链接时,它将使您跳回您的客户端,然后该客户端应立即通过IdentityServer弹跳并最终再次回到客户端,从而立即开始登录过程。
IdentityServer --> Client --> IdentityServer --> Client. IdentityServer->客户端-> IdentityServer->客户端。
Remember, just because the User has signed into IdentityServer, doesn't mean they have an cookie for the client application. 请记住,仅因为用户已登录IdentityServer,并不意味着他们具有用于客户端应用程序的cookie。 The sign-in process/redirects still have to be performed.
登录过程/重定向仍然必须执行。
我将用作ID之外的独立应用程序的可用客户端列表,这样就可以从ID进行回叫
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.