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.
http://forum.example.comin the Website field.
http://forum.example.com/auth/twitter/callbackin the Callback URL field.
Agree to the legal stuff and click the Create button.
In the Settings tab, enter
http://forum.example.com/tosin the Terms of Service URL field
Check “Allow this application to be used to Sign in with Twitter” and click Update Settings.
In the Permissions tab, choose “Read Only”, and “Request email addresses from users”, then click Update Settings.
Click on the “Keys And Access Tokens” tab. The API key and API secret go in the
twitter_consumer_secretsettings in the Login section (
Twitter Login Troubleshooting
Twitter Log In - Fabric?
Hint for registering app with twitter Twitter should list http://apps.twitter.com (instead of https://dev.twitter.com)
Login with Social Media accounts
Twitter Login Redirect Is Incorrect And Uses Port
Configure oauth callback urls
Twitter sign-up bug II
[Paid] Discourse configuration changes
If you are getting the following error:
You must confirm your email address prior to creating an application. Please read https://support.twitter.com/articles/97942-confirming-your-email-address25 for more information
(like me), the solution is to change your e-mail address forth and back again (i.e. confirm it twice).
Has anyone found a way to add several callback URLs to the same Twitter app? This is possible with Google and Facebook but I can’t find a way to do it with Twitter!
I just noticed that twitter now has “Additional Permissions”:
Is ticking this on going to be enough or does something need to change in Discourse?
This works quite nicely now! I’ve added support for emails via Twitter in this commit:
Fantastic, confirmed working 100% here on meta. I’ve also updated the first post to reflect the new setup.
I have successfully set up twitter logins and it works, but I don’t see how to associate a twitter login to an existing account.
I’d like a way in the admin panel of an existing user to associate a twitter/fb login.
At the moment it seems that with Discourse 1.6 I can only setup a new user with the twitter login.
If emails match the association is automatic.
Thanks. I found FB logins match existing user, but twitter wasn’t. Anyways, FB working is enough so thats good.
I followed the steps and have double checked myself. When I click on the “test OAuth” button I get a “page does not exist” error message.
I am entering https in the website URLs…should that be http?
The enable call back locking is NOT checked. Should it be?
This is the call back URL I am using: Roatan Community
Hi. Thanks for this tutorial.
Actually it works when you leave permission to “Read and Write” and uncheck required email.
For me step 9 did not work. But it may work for others.
Write is highly not recommended.
Ok I’ll change that then tks!