Skip to main content

User Login with Twitter for Discourse

Taipa, Macau

Create a Twitter Developer Account

Go to Twitter Developer and sign in with your Twitter account and apply for a developer account:

Using Twitter Login in Discourse

Add a Authentication App

Click the Create An App button:

Using Twitter Login in Discourse

Enter a name and description for your forum and enter the address in the Website Url field:

Using Twitter Login in Discourse

Put the check to Enable Sign in with Twitter. Enter https://forum.instar.com/auth/twitter/callback in the Callback URLs field. Enter the URLs for your tos and policy stuff. If you have an organization, also fill in the fields related to it:

Using Twitter Login in Discourse

Go to the Permissions tab, choose Read Only, and Request email addresses from users, then click on Save:

Using Twitter Login in Discourse

Click on the Keys and tokens tab:

Using Twitter Login in Discourse

Copy the API key and generate the API secret and paste them in the twitter_consumer_key and twitter_consumer_secret settings in the Login section of your Discourse site (/admin/site_settings/category/login):

Using Twitter Login in Discourse