Custom Twitter Identity Provider

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

  • 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

  • Enter your App name. We generally recommend using your company name for the App name
  • Enter a brief description of what your app will do. For example, you can say that it will be used for authentication on your website login page.
Step 3

Step 4

  • Enter your Website’s URL.
  • Check Enable Sign in with Twitter.
  • For the Callback URLs, enter:

    https://api.logonlabs.com/callback

Step 4

Step 5

  • Enter a detailed description of how this app will be used. For example, state that it will be used for authenticating users to your website only. Or if you intend to request additional scopes and access from users, please state this here as well.
  • Click Create.
Step 5

Step 6

  • Go to the Keys and tokens tab.
  • Take note of the API Key and API secret key for the LogonLabs setup below.

Step 7

LogonLabs Setup:

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