Module Description
This project is part of the Drupal Social Initiative and is based on the Social API.

Social Auth Twitter allows users to register and login to your Drupal site with their Twitter account. This module is based on Social Auth and Social API projects

This module adds a path user/login/twitter which redirects the user to Twitter for authentication.

After Twitter has returned the user to your site, the module compares the user id or email address provided by Twitter. If the user has previously registered using Twitter or your site already has an account with the same email address, the user is logged in. If not, a new user account is created. Also, a Twitter account can be associated to an authenticated user.

Login process can be initiated from the "Twitter" button in the Social Auth block. Alternatively, site builders can place (and theme) a link to user/login/twitter wherever on the site.

Configuration Version 3.x
Only OAuth 1.0a is supported in the 3.x branch.

In Drupal
* Log in as an admin.


* Navigate to Configuration » User authentication » Twitter and copy the Callback URL field value (the URL should end in /user/login/twitter/callback).



In Twitter Developer Portal * Log in to a Twitter account.


* Navigate to Projects & Apps » Overview.


* Under Standalone Apps click Create App.


* Enter an app name and click Next.


* Copy the API Key, API Key Secret, and Bearer Token and save them somewhere safe.


* Click App settings.


* Ensure the app has Elevated Access.


* Click Apply next to the message "Do you need Elevated access for your Project?" if it appears.


* Fill in all required basic info fields and click Next.


* Fill in all required intended use fields and click Next.


* Review the settings and click Next.


* Carefully read the Developer Agreement, tick the acknowledgement box and click Submit.


* Approval should be immediate. Navigate back to Projects & Apps and click the app name to return to the app settings page.




* Under User authentication settings click Set up.


* Toggle "OAuth 1.0a" (to enable it).


* Optionally toggle "Request email from users" (to enable it).


* Paste the URL copied from Step 2 in the Callback URI / Redirect URL field.


* Fill in other required and optional fields as desired.


* Click Save.



In Drupal * Return to Configuration » User authentication » Twitter


* Enter the API Key in the Client ID field.


* Enter the API Key Secret in the Client secret field.


* Click Save configuration.


* Navigate to Structure » Block Layout and place a Social Auth login block somewhere on the site (if not already placed).



Project Usage
222
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
Social Auth Twitter module allows users to register and login to a Drupal site with their Twitter account.
Data Name
social_auth_twitter

OPENAI CHATBOT

OPENAI CHATBOT

14:28:22
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.