Copied to clipboard

Flag this post as spam?

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


  • bh 444 posts 1544 karma points
    Jan 03, 2024 @ 20:22
    bh
    0

    Single Tenant Azure AD Auth for Members

    The documentation for implementing Azure AD to authenticate Members found here https://docs.umbraco.com/umbraco-cms/v/12.latest/tutorials/add-azure-active-directory-authentication specifies the use of a multi-tenant Azure AD registered app. Can anyone point me in the right direction for configuring member authentication using a single-tenant Azure AD?

  • Brendan Rice 538 posts 1102 karma points
    Jan 04, 2024 @ 22:37
    Brendan Rice
    1

    Here's the commit for who added that document:

    https://github.com/umbraco/UmbracoDocs/blob/d39efa276a15d2cf5cb79e8a70a621ff78a30e3e/12/umbraco-cms/tutorials/add-azure-active-directory-authentication.md?plain=1#L7

    Maybe reach out to them, as they seem to have a good handle on it.

  • bh 444 posts 1544 karma points
    Jan 05, 2024 @ 14:04
    bh
    0

    @brendanrice...thanks for the find/suggestion. I reached out to him on LinkedIn...hopefully he can point me in the right direction.

  • benbarnett02 2 posts 22 karma points
    Apr 30, 2024 @ 01:25
    benbarnett02
    0

    Hey bh,

    I've just created a pull request into docs for this - https://github.com/umbraco/UmbracoDocs/pull/6060

    In the BackofficeAuthenticationExtensions.cs file, you can add

    options.TokenEndpoint = $"{your token endpoint}";
    options.AuthorizationEndpoint = $"{your authorization endpoint}";   
    

    You can get the endpoints from the App Registration in Azure AD/Entra ID - go to Overview then click the Endpoints button at the top. You'll want the OAuth 2.0 authorization endpoint (v2) and the OAuth 2.0 token endpoint (v2).

    I've tested this locally and seems to work fine.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies