How to Add Social Login to JetFormBuilder Forms Using Nextend Social Login

JetFormBuilder allows you to create dynamic login, registration, and multi-step forms using custom fields and flexible layout options. If you would like users to sign in or register using their Google, Facebook, or other social accounts, the Nextend Social Login plugin offers a simple and effective solution.

In this tutorial, you will learn how to integrate social login buttons into JetFormBuilder WordPress plugin forms using the free version of Nextend Social Login. We will demonstrate how to connect the login options to your form and display them on the frontend, allowing users to authenticate with a single click.

Table of Contents:

Install and Set Up the Nextend Social Login Plugin

To install the plugin, proceed to the WordPress Dashboard > Plugins > Add Plugin tab and search for the Nextend Social Login plugin. Click the “Install Now” button next to the Nextend Social Login and Register plugin.

install the nextend social login and register plugin

When the plugin is installed, click the “Activate” button. 

To set up the integration in the Nextend Social Login plugin, proceed to the WordPress Dashboard > Settings > Nextend Social Login. The page with all the providers will be opened. Choose the needed provider and click the “Getting Started” button next to it. In this tutorial, we will use Google as a provider. 

set up the integration with Google

After clicking the button, you are redirected to a guide page with clear steps on setting up the provider.

google integration guide page is displayed
NOTE

The guides will vary depending on the provider, so choose the one that suits your needs and follow the steps specific to your provider.

Pay attention to step #24 — ensure to copy and save the “Client ID” and “Client Secret” values, as they are required for further settings. 

Click the “I am done setting up my Google App” button once you are ready with the settings. 

You are now redirected to the page where the saved values should be added to the “Client ID” and “Client Secret” fields. 

“client id” and “client secret” are added

Click the “Save Changes” button when you are done. 

Once the settings are saved, a pop-up will appear, allowing you to verify the settings and test the integration to ensure it works correctly. For that, you will need to log in to your Google account. Once everything goes well, you get another pop-up confirming that the integration works fine. 

integration setting verified

Create the Form with the Integrated Button

Following our How to Build a WordPress Login Form tutorial, we created a simple form for users to log in.

Now, we need to connect our form with the Social Login. For that, add the Shortcode widget and insert the following shortcode into it: 

[nextend_social_login]
shortcode added to the login form

Click the “Publish” button once you have completed the form settings. 

Add the Form to the Page

Now, we can add the form to the needed page. Check our How to Display a Form on the Front End tutorial if you’re unsure about the settings.

login form added to the elementor page

Click the “Publish” button once you are ready. 

Before we finish, proceed to the WordPress Dashboard > Settings > General and ensure that the “Anyone can register” option is checked for the Membership field. 

“anyone can register” option is checked for the membership field

Click the “Save Changes” button. 

Check the Result

Now, let’s proceed to the frontend page to see how it works. 

Make sure that you are checking the form being logged out from the site; otherwise, the social login button will not be shown.

social login button is shown on the frontend
NOTE

When a user clicks the “Continue with Google” button, Nextend Social Login checks if their email address already exists among the site’s users. If it does, the user is simply logged in. If not, a new account is automatically created for them.

That’s it. Now you know how to integrate social login buttons into JetFormBuilder WordPress plugin forms using the free version of Nextend Social Login.