Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Multiple tenants - single identity #3807


User avatar
0
mdonogma created

We want same username and password for user across all tenants.

Linked users is not what we want.

How/what would be best approach to ensure a single identity per user across all tenants.


6 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @Mdonogma,

    This is not supported by AspNet Zero. We don't have any suggestion about this, you need to develop your custom solution.

    Thanks.

  • User Avatar
    0
    mdonogma created

    <cite>ismcagdas: </cite> Hi @Mdonogma,

    This is not supported by AspNet Zero. We don't have any suggestion about this, you need to develop your custom solution.

    Thanks.

    so what is the point of identity server 4 integration?

  • User Avatar
    0
    strix20 created

    IdentityServer4 is an OAuth 2.0 Framework to provide authentication as a middleware service. It is designed to support authentication across multiple applications, not a single application with multiple tenants.

    You can learn more about IdentityServer4 here:

    [https://identityserver4.readthedocs.io/en/release/intro/terminology.html])

  • User Avatar
    0
    mdonogma created

    So is identity server built into new projects or do I need to creat a seperate identity server install then link aspzero template to the identity server using the app. Json settings file.

  • User Avatar
    0
    strix20 created

    Scott Brady wrote up a pretty good overview of how IdentityServer4 can be set up for a more advanced configuration here:

    [https://www.scottbrady91.com/Identity-Server/Getting-Started-with-IdentityServer-4])

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @Mdonogma,

    Your use case is not related to IdentityServer, at least I think like that. I assume you want to create a single user who can access more than one tenant's data and it is not a host user, right ? If so, AspNet Zero does not support this by default.

    Thanks.