Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Owen Henry 3 posts 73 karma points
    1 week ago
    Owen Henry
    0

    Active Directory in Umbraco 9

    I'm coming back to Umbraco after having been away for several years. My company had been using DNN for its intranet, but we've grown sick of it and are beginning a long process of rebuilding in Umbraco. The first issue that we face is how to log in our staff on the front end using our on premise Active Directory. I've been looking around it seems as though most everything that I find is related to authenticating users to the back office.

    Can anyone point me in the right direction?

  • Owen Henry 3 posts 73 karma points
    1 week ago
    Owen Henry
    0

    As a follow up, I did find this topic that has some generalized steps in it. Can any one tell me if the steps in the answer from Kevin Jump would still be the same basic principles for v9?

  • Kevin Jump 2031 posts 12829 karma points MVP 5x c-trib
    1 week ago
    Kevin Jump
    0

    Hi Owen,

    I can't see the topic you are talking about, but if its the one i think it is (from quite a few years ago) then probably not 😔.

    Authentication has changed quite a bit since v4/6 when i did some Active directory integration, from memory that method involved a bit of hackery around role providers and the auth that the browser sent.

    I really haven't done much AD / External auth on the later versions, so i can't say what would be the best way to achive it now. but it probibly involves some form of OWIN authentication

    there was an Umbraco Identity package for Umbraco 8 - but i think even that isn't the v9 way to do it, mainly because authentication is much more 'standard' asp.net core now.

    this comment on the Umbraco Identity repo might have some good info in it :

    https://github.com/umbraco/Umbraco-CMS/issues/10656#issuecomment-896245280

    I noticed it has some Auzue AD B2C auth setup in it so it might be a place to look?

    I think the intention is that Umbraco works very much like any other asp.net core app, so if there is AD auth code out there for that, it might be you can use it for Umbraco ?

    Sorry i couldn't help anymore - i've been out of the AD intergration world for quite a while now.

  • Owen Henry 3 posts 73 karma points
    1 week ago
    Owen Henry
    0

    Thanks Kevin! I'm apparently quite scattered brained and completely failed to link to the topic, but I'm sure that it is the one you are thinking of, but just in case, for anyone else that stumbles on this I was referencing this post: https://our.umbraco.com/forum/umbraco-7/using-umbraco-7/61329-Using-Active-Directory-for-Members-without-Login-Dialog

    The more I read stuff, I certainly get the same impression, that if I can find anything about AD auth for a normal .net core app that it should apply to v9 as well.

    Thanks again! Owen

Please Sign in or register to post replies

Write your reply to:

Draft