-
Go to apps.twitter.com and sign in with a twitter account.
-
Click the Create New App button.
-
Enter a name and description for your forum.
-
Enter
http://forum.example.com
in the Website field. -
Enter
http://forum.example.com/auth/twitter/callback
in the Callback URL field. -
Agree to the legal stuff and click the Create button.
-
In the Settings tab, check “Allow this application to be used to Sign in with Twitter” and click Update Settings.
-
In the Permissions tab, choose “Read Only” and click Update Settings.
-
Click on the “Keys And Access Tokens” tab. The API key and API secret go in the
twitter_consumer_key
andtwitter_consumer_secret
settings in the Login section (/admin/site_settings/category/login
).
Settings
Source: https://meta.discourse.org/t/configuring-twitter-login-for-discourse/13395