Support » Plugin: Nextend Social Login and Register » Social Login and GDPR

Viewing 15 replies - 1 through 15 (of 27 total)
  • Plugin Author Nextendweb


    Hi @justlevine,
    Thank you for your question! It can be a very popular topic in next next few weeks and in the future. Officially, we are unable to give you legal advice as it is out the scope of Nextend Social Login and we can not take any responsibility. The best if you consult with your lawyer or your GDPR consultant who can give you proper advice and take the responsibility.

    My personal opinion and not legal advice: Probably we will be able to follow big companies who also rely on Facebook or Google login. Hopefully you won’t need to ask permission again, but you need to specify which data do you store, why, how long etc in your privacy policy.

    Good examples will be:

    and much more.

    I had a long meeting with a big lawyer Company in Germany. For the GDPR Compliance we need a checkbox when the User will sign in with FB, Google, etc, with a text like this: “I agree that Facebook-Connect automatically transmits and uses data to the site operator regarding my publicly marked profile details on Facebook, such as salutation, first name, last name, address data, country, e-mail address, date of birth, but also the user IDs of my friends, my profile pictures and my friend list.I have read the privacy policy.I can revoke this consent at any time by sending an e-mail to the address named in the imprint. ”

    Can you implement such a Checkbox in the Plugin?

    Plugin Support Gabor


    Hi @lonewolf704!

    Yes, we could. Currently it is a holiday in our country, so we will only be back in the office on Wednesday to do this. Until then please write to us to and we will send you an installer there when it’s done, so we could be sure everything seems alright for you too!

    Plugin Author Nextendweb


    Hi @justlevine, @lonewolf70,
    we would like to prepare Nextend Social Login to support GDPR goals until the 25th May deadline. It would be great if we would be able to discuss in this topic about the right solution which suits for all.

    Here are several questions which popped up:

    • Do you need multiple consent from the user or only one? For example a consent to transfer personal data from Facebook to your site and an another consent to agree your privacy policy etc.
    • When should the consent screen appear? Instantly after the user clicked on the “Continue with Facebook button” or after the user authorized the Facebook app, but before the register/link account?
    • Must the consent required to check in your case? As far as I know there is no way to force the user to check any consent to continue the usage.
    • When the consent is NOT given, should we cancel the registration/link process or we can continue the registration, but there is no personal data collected except the Facebook ID which is required to use the Facebook login?
    • How do you imagine the revoke of the consent? Is it OK if we just delete the App permission from the user? Or should we somehow remove the personal data which is acquired through Facebook?

    Thank you for your feedback!

    Plugin Author Nextendweb


    @justlevine, @lonewolf70

    We created 3 possible flow which would allow to get consent from user.

    Register flow:


    • Pro: 1 less page load compared to #2 and #3
    • Const: Login form seems ugly as there is a lot of text regarding the consent

    #2 and #3

    • Pro: You can add lot of texts to agree, easier to follow in user perspective, would be able to display more checkboxes to get consent for example for newsletter
    • Const: 1 more pageload

    Login flow:
    #1 and #2

    • Const: Need to ask user for consent every login, which I think is bad practice


    • Pro: Do not need to get consent again, as we know that we do not need to get consent as the user already agreed with the privacy policy in the past.

    Link account flow:
    I think Pros and consts are similar to the register flow.

    If I would need to choose, I would prefer the #3 flow as there is only one “Agree screen” on register flow or in link account flow.

    Thread Starter justlevine



    First off – wow, really happy to see you’re taking serious steps for this and gathering feedback.

    Bearing in mind I’m not a lawyer, and as such an only relating what I was told by mine:

    1. You only need ‘explicit consent’ when using the data is not for ‘contractual obligations’. E.g. you can use their email to send purchase receipts but not marketing emails, their name if they are logging in to use a forum, etc.
    2. You need explicit consent for each piece of information you’re requesting.
    3. You need to prominently display the site terms they’re agreeing to by using ur services contractually, and get their consent before you save any of their information.

    The imgurs are blurry in that it’s hard for me to tell which things are happening in the different parts of the flow, but responding to your original questions:

    1. There are two things that need to happen. First a notice on top of the login button: ‘By signing in you are agreeing to (ToC link)’. That covers any of the information you’re requesting from social that you’re using to provide your service. In the ToC the site author has to list each thing they’re requesting and why it’s needed to provide the service.
    Next, you need to request consent for every nonconsentual thing. Legally I’m not sure if this needs to be before the request to the oAuth or after the data is return but before it’s saved to your database. My personal opinion is that its weird for FB to list a bunch of fields the user approves, and only after you ask if you can use them vs FB just listing the agreed to fields, but what do I know.
    Regardless, the ideal (from both a legal and user POV) is that each data item is listed with a separate checkbox including both what is being requested and why. E.g. ‘I agree for you to use my profile picture when displaying comments’ or ‘I want my birthday do be displayed on my profile page’ or ‘Use my email to send me marketing messages and site comments’.
    In other words, the plug-in should let you choose a data item to request from the oAuth, whether consent is required for the specific item, and an optin to be displayed if so.

    Regarding revoking consent, I’ve yet to take a look at the new tools in the 4.9.6 beta.
    It’s the site owners responsibility to delete all data associated with the revoked request, but assuming that WP itself is going to handle these, all you guys would need to do is hook into the display of what items they can withdraw consent from, change the permissions so the info isn’t resynced on the next login, and use the wpfunxtion to delete the metadafield that item is associated with.

    Plugin Author Nextendweb


    @justlevine, thank you for your feedback. You should be able to zoom in to those images to see the details and differences. Just open the url and click on the image, it should jump into original size. It would be great if you would be able to check them πŸ™‚

    Our current goal is to give site owners the ability to define multiple data collection targets. For example you should be able to create a Terms of service which is required to check as this allows you to store personal data as a contract. Also we would like to give you the tool to add custom consent request to help you to use data for newsletters and such.

    Thread Starter justlevine


    Stupid me – I was on mobile, and tried zooming manually.
    From my comuter:

    Register Flow:
    So as I said above, you need to prominently display a link to the TOS before the login, so it changes/combines part of your flow. You need to separate out what requires consent and what doesnt, and what you’re using the consent for.
    The flow becomes
    Step 1: Login form. Same style as #1, except no need for a checkbox, and instead its a “By Logging in with facebook you are agreeing to our <link ToS />“.
    Step 2+3: Explicit Consent + Facebook. I’m kind of leaning towards the FB Login followed by the Site Consent (#3) because that way you’re stilling getting the data required to use your site, instead of potentially scaring them away altogether by asking for consent.
    This is definitely true if you plan to provide granular consent for each ‘justification’ as recommended by the GDPR, but just as valid if you’re getting a scarebox of agreement tos.

    Regardless, disagreeing should NOT take you back to the login, you are more than allowed to gather social data for contractual reasons (which dont require optin), and only optin to additional non-primary data purposes.

    Login Flow
    You do not need to request new consent (or contractual agreement), if users have already granted consent or logged in and therefore accepted the TOS, so a lot of this is redundant.
    Also, am I not mistaken, or can’t new users be created via the “login” as well, if they dont currently exist?

    IF: the login is only for existing users, then #3 is enough, and the FB permission request only appears if they revoked permissions ONLY on facebook.
    If its for both new and existing users, then its what I about the register flow:
    Step 1: Have a disclaimer “by agreeing to…” above the link. If its an existing user, then follow the rest of the flow for #3 with only a FB prompt when necessary, and if its a new user, then continue Steps 2 + 3 of the register flow (my comments above).

    Link Accounts
    By being a user, theyve already agreed to the site’s TOS (assuming it was displayed on non-NextEnd register form, which it is required to law), so Im pretty sure you dont need to link to it here. Again, Im not a lawyer, so Im not sure about this point.
    As for a popup vs a checkbox for the *data that requires consent*, I’m honestly torn.
    On one side, theyre already on the page that allows them to edit/define information, so checkboxes do seem like a more natural fit (plus you get rid of the extra screen).
    On the other side, there is something to be said about flow consistency. And, as a site owner, I do like the idea of forcing them to make a decision about whether to give consent or not, but I’m not sure if that’s worth the cost to the user.

    Thread Starter justlevine


    This mockup for Registration/Login is less pretty than yours (done via a webapp on my phone), but I think it gets the point across:

    Thread Starter justlevine


    Re rescinding consent, looking at the 4.9.6 beta the tools are already there.
    This one shows the ToS, so the user needs to edit it to specifically point to the privacy policy (either through nextend or on their own), and you just need to style the plugin so its clear the notice applies to both the form and the social login button.
    this is for making sure anything nextend saves is exportable by the user,
    and these filters will let users rescind consent.
    Should be enough to tap into these tools (I hope).

    Plugin Author Nextendweb


    Thanks @justlevine for the details feedback. I will try to answer everything πŸ™‚

    From technical perspective, before we do the oauth authentication, we are unable to tell if the user already give consent or not, so I think the consent screen should appear after the oauth authorization to prevent consent-nag at the login flow. (There is no way to know who is the user if she/he does not authorize at Facebook.)

    Also I must note, that the buttons at the WordPress login page can register the user, if there is no account found with that social account. (Also the social buttons on the register page can log in too)

    Your mockup states that all consent must be accepted, but as far as I know you can not force freely given consent. You must allow people to continue without giving you consent on that part.

    Somewhere I saw several consent screen examples and checkbox was the worst and the best was Yes/no option where the user must decide whether to give or not give consent. It can be an unselected radio option with yes and no and user must select one or it can be two buttons in the window like on my mockup.

    I think the best, if I create a new mockup on Monday based on your feedback and we can discuss it here. I hope others will join too.

    Thread Starter justlevine


    Just want to stress again how grateful I am for this dialogue and your desire to gather feedback πŸ™‚

    I think the consent screen should appear after the oauth authorization to prevent consent-nag at the login flow. (There is no way to know who is the user if she/he does not authorize at Facebook.)

    So you answered your own question about the flow. It needs to be Login button -> oauth screen (that lists all the possible data that the user might consent to -> consent dialogue -> success (and only the data that the user consented to or is required by the TOS is saved to the usermeta).

    Your mockup states that all consent must be accepted, but as far as I know you can not force freely given consent. You must allow people to continue without giving you consent on that part.

    Just to clarify myself on this point:
    There are two types of data were receiving from FB, data that requires explicit consent and data that doesn’t.
    For data that doesn’t require consent it needs to be in the ToS, and the TOS needs to be agreed to upon login (doesn’t need a check box, but rather ‘by logging in you are agreeing to’ is enough).
    For data that requires consent, it shouldn’t be ‘all or nothing’ but granular with justification for each data item.

    Regarding my example which used a required field: you must allow the user to continue to use the site even if explicit isn’t granted, but not necessarily give them the ability to use social login. However, since the data item requires explicit consent, it needs to be agreed to, and not included in the TOS.
    As imo a checkbox before the login button seems out of place, I gave an example on how it should be handled within the use of a consent screen. This is advanced usage of GDPR, and there’s no requirement that Nexend provides this functionality; but if you were to that’s how I believe it should be handled.

    Somewhere I saw several consent screen examples and checkbox was the worst and the best was Yes/no option where the user must decide whether to give or not give consent.

    Wholly valid point πŸ™‚ My fault for the hastily-made mockup.
    Just keep in mind that that radios should be for each data item, and that ‘disagree’ shouldn’t be used as a button option on the bottom of the dialogue, because it’s unclear to the user that they continue to the use the site if they do disagree to giving consent (my point above about requiring consent for a specific data item notwithstanding).

    Looking forward to the next iteration of mockups, and some other voices in the convo πŸ™‚

    Plugin Author Nextendweb


    @justlevine, @lonewolf70

    Just checked WordPress 4.9.6 beta which contains the GDPR related changes and tools. There will be a “Privacy Policy” page and those page will be added to the login and register pages too. Related ticket:

    Here is how the default WordPress register looks like in WordPress 4.9.6:

    We can assume that WordPress does everything to be GDPR compliant, right?

    By clicking on the “Register” button, the visitor gives you consent to store the personal data. GDPR – Given consent

    We can see the Nextend Social buttons in the same manner. If the visitor clicks on the “Continue with Facebook” button -> you get the consent from the user to process the personal data which detailed in your privacy policy. So if you detail every personal data which your store from Facebook (user id, first name, last name, email address, profile picture) and your GDPR documentation states why do you need to store these data (email -> to identify the visitor when sends you email, Facebook user id -> too allow the visitor to log in to your site with Facebook, Facebook profile picture -> to display the avatar in the forum)

    So I think if you have the right cause, you can store the visitors personal data with the given consent by the “Continue with Facebook”.

    With this simple approach we would be able to follow WordPress core and we could adjust it when WordPress changes its register page.


    If we look further, you will need to ask consent in the future for several different goals (newsletter and such). Also you need to keep record when and how the consent was given or taken. As I read in WordPress Trac, they plan to introduce universal loging for consents, but this won’t be available before May 25.

    Maybe we should use another plugin for the consents, I vote for:

    It has a great UI where you can define different consents, even required consent and optional consent. Also it can log when the consent given and taken back.

    So when this plugin is not installed, Nextend Social Login use the WordPress way of the register, if this plugin installed and there are defined consent(s) then we get them from the visitor.


    What do you think?

    Thread Starter justlevine


    I have to look into the GDPR plugin a bit more.
    On one hand, I am a fan of DRY and if there’s a plugin that already handles 99% of what’s needed then theres no reason for yall to duplicate the functionality. On the other, the only time I collect private info is either via registration/profile edits (which 4.9.6 on its own seems to cover) and via Social Login, so (without having actually tested it yet) installing another plugin seems a bit like overkill.
    Will spin up a dev with the plugin this week.

    Re the mockup itself:
    “Simple Register”:
    The way the button is loaded, it seems that the two checkboxes only apply to WP register and not Social Login. If that’s the case, we still need a disclaimer (By logging in you agree to our Privacy Policy); if its not the case, then the Social Login button needs to be hooked in a way that those checkboxes still apply.

    “Register with consents”:
    Putting aside that GDPR does not require explicit consent for agreeing to the Privacy Policy, if there is a ‘required consent’, than it should be marked as required on the consent popup (and perhaps disable out the register button until the required items are selected).
    Also noted that you switched the consent to a simple checkbox instead of a yes/no selector per item, despite your comments above about the efficacy of using checkboxes. Not the biggest deal – and if its coded like the rest of the plugin, then Im hoping itl be easily changeable with a template hook.

    PS: Im still not a fan of checkboxes before the register (Be it the 4.9.6. default functionality or for nextend).

    Plugin Author Nextendweb


    If you need to get consent, you must store the info related to that given consent as you must be able to prove when and how that consent happened. Currently there is no in-built way in WordPress to store and track this as a log. This is why I suggested that plugin as that handles every related thing.

    Also given consent must be optional. It is fine if required to check the terms of service, but given consent must be optional for visitors. So I think we should simply choose what is the real need. We must separate the acceptance of terms of service and GDPR – given consent as they must be two different things.

    Maybe Nextend Social Login should have a new option to show custom sentences as a last step on register and there should be buttons to accept and reject. It would be great to accept the terms of service.

    On the other hand Nextend Social Login should support the mentioned plugin which would handle all of the GDPR – givent consent. (We can display those checkboxes with custom UI radio yes/no or something similar…)

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘Social Login and GDPR’ is closed to new replies.