Custom Twitter Identity Provider

Last updated 03/14/2022

Step 1

Log in to the developer site of Twitter: https://developer.twitter.com Note: After logging in, you may need to go back to the Developer URL above.

Step 2

  • Create a developer account by clicking Sign up at the top right of the page.
  • If you already have a developer account, click Developer Portal at the top right of the page and skip to step 5.

Step 3

  • Enter your App name. We generally recommend using your company name for the App name.
  • Click Get Keys.

Step 4

  • Take note of your API key and API secret key for the Bread & Butter setup below.
  • Click Skip to Dashboard.

Step 5

  • Click on your project name on the left of the page.
  • Click Apply for Elevated if you don't already have an elevated twitter developer account.
  • Fill out the information to apply for an elevated twitter developer account.
  • Once your elevated application has been accepted, move on to the next step.

Step 6

  • Click on your project name on the left of the page.
  • Under Apps and your app name, click on the gear icon to go to App Settings.
  • Click Set Up under User Authentication settings.

Step 7

  • Toggle on OAuth 1.0a.
  • Enable Request email address from users.
  • Set App Permissions to Read.
  • For the Callback URLs, enter: https://api.breadbutter.io/callback
  • Enter your Website URL.
  • Enter your Terms of service and Privacy policy URLs in order to enable Request email address from users.
  • Click Save.
Step 7

Step 8

Bread & Butter Setup:

  1. Go to https://app.breadbutter.io/sign-in/
  2. Click Sign In and authenticate (or Sign Up make a new account and authenticate).
  3. Navigate to Providers, then to Default Rules (or Domain Rules and open/create a domain module).
  4. Click "Sign in with Twitter" button.
  5. Select "Set Twitter for Production".
  6. Enter a custom name and description.
  7. Enter the Client ID from the Twitter setup steps above (API key).
  8. Enter the Client Secret from the Twitter setup steps above (API secret key).
  9. Click Save & Close.
  10. Click the checkbox next to your new Twitter provider to enable it.
Step 8