Asp.net Identity using password and Azure Active Directory authentication

后端 未结 3 1058
情书的邮戳
情书的邮戳 2021-01-01 20:20

I\'m building an ASP.NET MVC 5 web site using Asp.net Identity (OWIN) and want to support both traditional username/password authentication as well as authentication against

3条回答
  •  遥遥无期
    2021-01-01 20:52

    I realize that this is an old question. I am potentially looking to do something similar but probably more like ASP.Net identity auth to more than one Azure AD tenant. I found this Integrating Azure AD into ASP.NET Core where this statement:

    ...then leverage the OnTokenValidated notification to implement your own issuer validation logic depending on which tenants you want to support (any tenant, Microsoft Account + specific list of Azure AD, single Azure AD, just Microsoft Account, etc)...

    leads me to believe that the sample code there may hold the key to this mixed auth scenario.

提交回复
热议问题