• liquidonthedrums

    (@liquidonthedrums)


    Hi,

    Are there any filters to enable integration with a membership plugin? Specifically I am using Woocommerce Memberships.

    I understand you can setup 2FA policies by user role, but I actually need to require 2FA (or alternatively, make it optional) based on a user’s membership status. All users have the same role of customer.
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor robertabela

    (@robert681)

    Thank you for showing interest in our plugin @liquidonthedrums

    As such there is no “out of the box” integration, however, since all users have the “customer” role, isn’t it possible to simply require 2FA for the users with that role?

    Thread Starter liquidonthedrums

    (@liquidonthedrums)

    Hi @robert681 ,

    Thanks for your response. As I mentioned, I’m aware that you can do it by role, I am wanting to do it via a user’s membership status.

    I am not asking about an “out of the box” intergration, I was asking about a filter so I could do my own checks on whether 2FA if required for a particular user.

    Thanks

    Plugin Contributor robertabela

    (@robert681)

    Thank you for your response @liquidonthedrums

    At the moment there is no filter sorry. However, I would like to learn more about your usercase and why you’d prefer to use a filter VS roles, since your members already have a specific role. Would you be able to tell me more why you want to do it this way?

    We want to continue improving the plugin and the best way to do so is to learn about such use cases.

    Looking forward to hearing from you.

    Thread Starter liquidonthedrums

    (@liquidonthedrums)

    I am using woocommerce and woocommerce memberships to sell memberships on my site. There are multiple types of memberships:
    1. Free membership – Applied if user registers
    2. Basic Membership – Applied if user purchases basic/ Free membership is also applied
    3. Pro membership – Applied if user purchases pro/ Free membership is also applied

    There is a clear distinction between roles and memberships. Roles are used specifically to grant/ deny capabilities, where as memberships are used to give access to content, member discounts/pricing, and can also have time limits associated with them. In addition a user can have an unlimited number of memberships, they can be active/ expired cancelled etc. There are a lot of reasons why this is a better model than using capabilities on this type of site. This is fairly standard for a lot of the membership plugins (woocommerce memberships, memberpress, easy digital downloads, suremembers).

    For my use case I want to require 2FA for users with Pro memberships, but make it optional for other membership types. Every user that purchases a product will automatically be assigned the customer role, but I would only want to enforce 2FA for specific users within that role.

    I hope that explains my use case. Thanks



    Plugin Contributor robertabela

    (@robert681)

    Thank you for your explanation. Indeed, what you are saying definitely makes sense in such setup. At the moment there is no “out of the box” support for what you need, sorry.

    However, we’ve added this to our features requests list and it is something we will definitely look into in future updates.

    I am sorry I cannot give you a more definitive answer today. Should you have any other questions, please do not hesitate to ask.

    Have a great day.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.