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

Multitenancy with Azure AD for authentication #6090


User avatar
0
JapNolt created

We are building an application on ANZ using multitenancy and we need to use Azure AD for authentication. Our project is Core/Angular. Is this possible? If so, is there any guidance available?


3 Answer(s)
  • User Avatar
    0
    ryancyq created
    Support Team

    Hi, do you mean azure ad authentication for some of the tenants and the rest is still using classic authentication?

    If so, there has been a discussion around this at https://github.com/aspnetzero/aspnet-zero-core/issues/369

    If not, to authenticate angular with azure ad, you can use OpenId connect approach. See https://github.com/aspnetzero/aspnet-zero-core/issues/1292#issuecomment-408000612

  • User Avatar
    0
    JapNolt created

    Yes, I would like the ability for a tenant to choose whether to use classic authentication or Azure AD (ADAL).

  • User Avatar
    0
    ismcagdas created
    Support Team

    @japnolt

    A tenant user can directly login into system or can choose to login with OpenId Connect (Azure AD in your case). But, in current design you can't disable one of them for a specific tenant.

    If you need that, you can create two settings (Tenant based) and disable the related UI parts according the value of your new settings.

    You will also need a screen to change the values of those settings based on the tenant.