0

What is the best practice for Authenticating against a domain (Active Directory) for a valid user?

Once authenticated, how do my controllers know the user has been authenticated (if they aren't then we ask to relogin)

I read many articles on the web and i am a little confused. Some guidance would be helpful

Kevin
  • 2,258
  • 1
  • 32
  • 40
software is fun
  • 7,286
  • 18
  • 71
  • 129
  • 2
    Does this answer your question? [How to use Active Directory Authentication in ASP.NET Core?](https://stackoverflow.com/questions/53707820/how-to-use-active-directory-authentication-in-asp-net-core) – Claudio Valerio Mar 04 '20 at 16:17
  • From what I read that Windows Authentication can't be done from Docker. So my options are to use LDAP authentication. – software is fun Mar 04 '20 at 16:26
  • That's exactly the second option in the answer to the question I linked. If you can't use `Microsoft.Windows.Compatibility` (for instance you are on linux based containers), use `Novell.Directory.Ldap.NETStandard`. – Claudio Valerio Mar 04 '20 at 16:35

0 Answers0