Custom Twitter Identity Provider

Last updated 11/23/2021

Step 1

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

Step 2

  • Go to the Developer Portal at the top of the page.
  • Click on your account name at the top right, then click Apps.
  • Click the Create an app button (Please note that you may need to apply for a Twitter Developer account)

Step 3

  • Chose your app environment.
  • Click Next.
  • Enter your App name. We generally recommend using your company name for the App name
  • Click Next.
Step 3

Step 4

  • Take note of your API key and API secret key for the Bread & Butter setup below.
  • Click App Settings under Setup your App.

Step 5

  • Enter an App Description.
  • Click Edit for Authentication settings.

Step 6

  • Toggle on Enable 3-legged OAuth.
  • Enable Request email address from users.
  • For the Callback URLs, enter:
  • 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 6

Step 7

Bread & Butter Setup:

  1. Go to
  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 7