We are trying to use saaskit with Identity Server 4 to make multi-tenant application using 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 --> Client --> IdentityServer --> Client.
Remember, just because the User has signed into IdentityServer, doesn't mean they have an cookie for the client application. The sign-in process/redirects still have to be performed.