How to setup Twitter application in WordPress Login | Twitter OAuth Social Login | Twitter Single Sign On
What is OAuth Social Login? OAuth Social Login is a type of single sign-on that allows users to register or login to any website using any social networking platforms like Discord, Facebook, Google, Twitter, Apple any many more. Users can securely log into any website without needing to remember their login and password by using…
What is OAuth Social Login?
OAuth Social Login is a type of single sign-on that allows users to register or login to any website using any social networking platforms like Discord, Facebook, Google, Twitter, Apple any many more. Users can securely log into any website without needing to remember their login and password by using OAuth Social Login.
Why should my WordPress website use Twitter Social Login/Twitter Sign In (Twitter SSO)?
Integrating Twitter social login on your website has a lot of benefits. When users come to your website they can start using it in seconds. They will not have to fill up any forms or remember another set of credentials. They can just log in with a single click using Twitter social login. All the users you get on your website and their data will already be verified by the social provider in this case Twitter. You can be assured that your user data is authentic as the login process consisting of authentication and authorization will be done on Twitter side. This also makes things easier for the website administrator as they don’t have to deal with managing user accounts and forgotten passwords.
Steps to configure Twitter application into WordPress using OAuth 2.0 Protocol
WordPress Twitter Social Login or Twitter Single Sign-On (SSO) for WordPress can be achieved by using our OAuth Social Login plugin. We’ll look at the simplest method for integrating Twitter login into your WordPress website in the following guide. You can click here to learn more about the additional features we offer with our OAuth Social Login plugin.
Step 1: Configure Twitter developer app
To set up a Twitter login in WordPress, follow the steps listed below.
- First of all, Go to Twitter developers account developer.twitter.com/en/portal/projects-and-apps and Login/Signup with your account, and click on Add Project.
- Enter your Project Name and click on Next
- Select a Use Case and click on Next
- Enter your Project Description and click on Next
- Enter your App Name and click on Next
- Click on App Settings
- Scroll down under User authentication settings click on Set up
- In App Permissions Section enable the toggle Request email from users and select Type of App as Native App
- o to Elite OAuth Social Login plugin and click on Twitter application.
- Here is the link to the plugin’s free download in case you haven’t done so already.
- Come back to Twitter Dashboard and scroll down under App Info paste the copied value in Callback URI and enter your Website URL, Terms of Service, Privacy Policy and click on Save
- Click on Keys and tokens.
- Scroll down under OAuth 2.0 Client ID and Client Secret Sectionand copy Client ID.
- Now Click on Regenerate option for Client Secret
- Click on Yes, Regenerate option
- Copy App Secret
Step 2: Set credentials in Elite OAuth Social Login plugin
- Come back to Elite OAuth Social Login plugin and paste the copied values in the provided field for Application ID and Application Secret, and Enter Scope as tweet.read+users.read+offline.access and Click on Save & Test Application.
- Now Your Application is set up and verified successful.
- You can now see that your WordPress website’s Twitter social login button is active and will appear like the image below.
How can I enable the visibility of the Twitter login button on my WordPress website?
Once the application is activated by default the Twitter login button will appear on WordPress default login page but If you want to Add Twitter login icons on your custom login/registration page of your websites, you can use the shortcode [ec_oauth_login]. This allows you to show all the applications configured on your custom form like Login with Twitter.
- Please send us an email at info@elitecontrivers.com if you are seeking for something and can’t find it here.