• Resolved horgster

    (@horgster)


    Hi!

    Today we have configured “Manual” approval of “User Registraion”.
    Is there any possibilities in “All In One WP Security & Firewall” to approve pending user registrations programmatically?

    Reason for asking, is that we are using an Plugin named Login with Vipps.

    This plugin will automatically register Users in WordPress and WooCommerce, but if “User Registraion” is set to “manual”, the user simply wont be able to login.

    Login with VIPPS allows all Norwegians to sign in with their mobile-phonenumber.

    All logins and user registration done by this plugin should be trusted in our scenario, but we still want to have the possibility that all other user registration shall be manual approved, except for users registered by this Plugin.

    So, is there any functions or filters that can trigger user approval programmatically ? If yes, then we can alter the Login with VIPPS plugin to this process ??

    Cheers and thanks for help!
    Regards
    Horgster

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi,

    Is there any possibilities in “All In One WP Security & Firewall” to approve pending user registrations programmatically?

    Unfortunately no.

    This plugin will automatically register Users in WordPress and WooCommerce, but if “User Registraion” is set to “manual”, the user simply wont be able to login.

    That is how this feature works. You want to protect your site from fictitious registrations.

    Let me know if you need more information or help.

    Thank you

    Thread Starter horgster

    (@horgster)

    Hi @mbrsolution

    Thank you for your answer, but I feel you have not understood the context of this scenario correctly.

    VIPPS is an Norwegian Banking application, that allows end users to purchase,pay and transfer by using their mobiletelephone number. In order to be an “VIPPS” user, the end user must have an Norwegian SosialID, and they must register with multiple authentication factors before they can be registered as an user.

    VIPPS has devloped an plugin for authentication and registering of users to WordPress and WooCommerece, and will perform multifactor auth in a simple and secure way.

    Hence these accounts is highly trusted and it is impossible to be “fictitious”.

    We want to avoid “fictitious” user accounts, therefore “Manuall” process is enabled.
    But this stops userregistration done by the highly trusted VIPPS wich act as an identity-provider.

    We can’t manually approve VIPPS user registration. Therefore we need and endpoint, where this plugin could approve these user accounts, but for other accounts the process should be manuall.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, my apologies if I did not understand fully your question. However from what you stated above, this would require some extra coding, filter or a function which is what you originally asked for.

    I have submitted a message to the developers to investigate further your issue/request.

    Kind regards

    Thread Starter horgster

    (@horgster)

    Hi @mbrsolution!

    Thanks, that is correct and is what we want!

    Kind regards
    Horgster

    Plugin Contributor wpsolutions

    (@wpsolutions)

    Hi @horgster
    If you are able to get the userid of the the account you want to programmatically approve, then you can simply use the native wp function as follows to approve that account:

    update_user_meta($user_id, 'aiowps_account_status', 'approved');

    Let me know if you have further questions.

    Thread Starter horgster

    (@horgster)

    Hi @wpsolutions

    This works!

    Thanks for great support and help!

    Cheers
    Horgster

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Approve pending user registration programmatically’ is closed to new replies.