This isn't the solution I really want to use as I'm already familiar and happy with the simple method of Windows Active Directory authentication. Is this simply not an option any longer because of the move to .Net 5? Seems hard to believe but I can't find any search results on how to get it to work.
hi, I also developed this way in Umberco 10, but I ran into a problem: if the username entered in the login screen does not exist in Umbraco then MyPasswordChecker() does not run, instead Umbraco will immediately fall back to its internal checks (default Umbraco behavior).
I haven't, as we actually prefer it work this way so we have fine control and whitelist who can login. I'm not familiar with how to completely replace the login process to get around needing Umbraco Users, maybe the OpenID Connect feature could be of use?
Active Directory (Windows) authentication for Umbraco 9?
I'm looking for the equivalent of this v8 article showing how to authenticate back office users using AD, but for Umbraco 9 https://our.umbraco.com/documentation/reference/security/authenticate-with-AD
Searching the forums seems only to turn up suggestion to use OpenID provider for Umbraco 9 https://our.umbraco.com/documentation/reference/security/external-login-providers/
This isn't the solution I really want to use as I'm already familiar and happy with the simple method of Windows Active Directory authentication. Is this simply not an option any longer because of the move to .Net 5? Seems hard to believe but I can't find any search results on how to get it to work.
Please respond if you have any insight, thanks.
This was fairly simple after I found the right combination of articles.
https://our.umbraco.com/documentation/reference/security/
https://stackoverflow.com/questions/290548/validate-a-username-and-password-against-active-directory
Add the password checker to services in startup.cs
hi, I also developed this way in Umberco 10, but I ran into a problem: if the username entered in the login screen does not exist in Umbraco then MyPasswordChecker() does not run, instead Umbraco will immediately fall back to its internal checks (default Umbraco behavior).
Did you manage to work around the problem?
Tanks,
I haven't, as we actually prefer it work this way so we have fine control and whitelist who can login. I'm not familiar with how to completely replace the login process to get around needing Umbraco Users, maybe the OpenID Connect feature could be of use?
is working on a reply...