Skip to content

Twitter Social Connection

This guide outlines the steps to configure Twitter as a social login provider in AuthAction for a production environment.

Step 1: Create a Twitter OAuth Application

Section titled “Step 1: Create a Twitter OAuth Application”
  1. Go to the Twitter Developer Portal.
  2. Log in with your Twitter account.
  3. Click Create an app.
  4. Fill in the required details:
    • Name: Your application name.
    • Application Description: A short description of your app.
    • Website URL: Provide your application’s website URL.
    • Callback URL: Set the redirect URI to:
      https://<tenant-name>.<region>.authaction.com/oauth2/login/callback
    • Terms of Service URL: Provide a URL to your terms of service (if applicable).
    • Privacy Policy URL: Provide a URL to your privacy policy.
  5. Click Create.

Step 2: Retrieve API Key and API Secret Key

Section titled “Step 2: Retrieve API Key and API Secret Key”
  1. After creating the app, go to the Keys and Tokens tab.
  2. Under API keys and tokens, copy the API Key and API Secret Key.
  3. These credentials will be used to configure Twitter in AuthAction.

Step 3: Configure Twitter Connection in AuthAction

Section titled “Step 3: Configure Twitter Connection in AuthAction”
  1. Log in to the AuthAction dashboard.
  2. Navigate to ConnectionsSocial Connections.
  3. Click Add Connection and select Twitter.
  4. Enter the API Key and API Secret Key obtained from Twitter.
  5. Click Save.

Step 4: Enable Twitter Connection for Applications

Section titled “Step 4: Enable Twitter Connection for Applications”
  1. In the AuthAction dashboard, navigate to Applications.
  2. Select the application for which you want to enable Twitter login.
  3. Go to the Connections tab and enable the Twitter connection.
  1. Open your application’s login page.
  2. Click on Sign in with Twitter.
  3. Authenticate using a Twitter account.
  4. Verify that the user is successfully redirected back to your application.

Your application is now configured to allow users to log in using Twitter in production.