Copied to clipboard

Flag this post as spam?

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


  • Murray Roke 503 posts 966 karma points c-trib
    Apr 27, 2023 @ 04:36
    Murray Roke
    0

    Custom Member Data Source

    Hi,
    I have a custom Member Datasource (via an API) it's not OAuth. In Umbraco 7.x I think replacing the UsersMembershipProvider would do something like this.

    However, I'm unsure how to do this in Umbraco 10. I already have the site working with Umbraco members. The AuthenticationSurfaceController I have has these injected: IMemberManager memberManager,
    IMemberSignInManager memberSignInManager,

    Should I create some custom classes with these interfaces and replace the existing classes via DI in some way?...
    or...
    Modify the AuthenticationSurfaceController to use a different member manager

  • AbsolutelyN 89 posts 437 karma points
    Apr 27, 2023 @ 05:17
    AbsolutelyN
    0

    I'm in process of converting an old umbraco 7 site with a completely custom user database - it doesn't use membership at all. Integrated it to umbraco 11 with cookie authentication - check out this blog brilliant blog post which may be helpful.

    https://lukealderton.com/blog/posts/2022/umbraco-9-custom-membership/

Please Sign in or register to post replies

Write your reply to:

Draft