Open Closed

Integrate Azure AD and SQL Database based user authentication #7268


0
jfirth created

We are trying to implment a hybrid login where we have some users authenticating with Azure AD and others with out of the box Asp.Net Zero sql backed login. We are having a very tough time trying to find a solution. One thing we want to do if possible is use the same Asp.Net Zero login screen t authenticate both users, not have the Azure AD redirect to a separate login.

We have a partial solution but it is using LDAP and requires a service account where as we would like to use client id and secret for the integration with AD.

Any assistance would be great.


3 Answer(s)
  • 0
    ryancyq created

    Hi, do you mean making ANZ default login screen to handle both ANZ login and Azure AD login?

    A seperate login screen for Azure AD sounds suitable, are you not able to do so?

    also, can you shaee your ANZ version and framework?

  • 0
    jfirth created

    I would like to have a single login for both, then behind the scenes it manages what auth provider.

    We are using the ANZ ASP.Net MVC Core with JQuery. (V6.9.0)

  • 0
    ryancyq created

    Hi @jfirth, if you doesn't want to use LDAP as external authentication source, you can implements your custom Azure AD external authentication source (using client id and key) by inheriting DefaultExternalAuthenticationSource and overrides the TryAuthenticate with the client id and key authentication.