• Resolved ypeynaud

    (@ypeynaud)


    Hello there,

    I use this great plugin for logging in and registering users from their Google accounts. The problem I have is that many of them have multiple Google accounts, and when trying to log in on my site, if they are connected to another Google account than the one with which they have registered, they mistakenly create a second account.

    A good solution I can imagine would be to display a modal popup warning them that they are on their way to register with this account and asking them to confirm by clicking on a button (or cancelling the registration process).

    Probably the ‘oa_social_login_action_before_user_insert’ hook would be a good one for that but I can’t figure out how to make it working: how to display the modal before continuing the registration process?

    Would you have some advice for me to achieve this?

    Many thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • benoit0neall

    (@benoit0neall)

    Hello,

    You can use our hook, but this will create some work for you, you’ll have to :

    * store data retrieved by the connection_token : this token is readable only once and you need the data to create the account later
    * create an interface in order to get the user approval
    * break our script and display your UI
    * create another script which handle user response, and create the account.

    We’ll also check if we can add this in a future version.

    Regards,

    Thread Starter ypeynaud

    (@ypeynaud)

    Hi @benoit0neall,

    Thanks for your answer. Yes, the process you propose is actually the one I have considered. But I’ve not succeeded in implementing it yet, hence my question.

    It would be very interesting if you could provide it in a future version. It would allow my site to really be GDPR-compliant (which is not truly the case yet due to this automatic subscription process without consent).

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to ask new users to confirm registration before actually registering them?’ is closed to new replies.