Skip to main content
X OAuth integration allows users to log in to your application securely using their X account, simplifying access and improving user experience. Follow this guide to configure X OAuth for your app:

Step 1: Access the X Developer Portal

  • Go to the X Developer Platform. Screenshot2025 08 20at15 47 34 Pn
  • Log in using your X account credentials, or create a new account if you don’t have one.

Step 2: Developer Agreement & Policy

  • Enter your use case and agree to their terms, then click Submit. Screenshot2025 08 20at15 47 34 Pn
  • You will be directed to the X dashboard with a project created.

Step 3: Set Up Authentication

  • Click Project & Apps on the sidebar then select your project. Screenshot2025 08 20at15 47 34 Pn
  • Click Set up User authentication settings. Screenshot2025 08 20at15 47 34 Pn

Step 4: Configure Permissions

  • Select permissions by choosing Read and Write or Read, Write, and Direct Messages depending on your app’s needs. Screenshot2025 08 20at15 47 34 Pn

Step 5: Set Your Type of App

  • Give the App permissions by selecting Web App, Automated App or Bot. Screenshot2025 08 20at15 47 34 Pn

Step 6: Set App Info

Fill in the following fields:

Step 7: Save Your Authentication Set Up

  • Click Save

Step 8: Generate Access Tokens

  • Return to Project & Apps and click Default project. Screenshot2025 08 20at15 47 34 Pn
  • Scroll down to the Apps and click the Key icon. Screenshot2025 08 20at15 47 34 Pn
  • Click Generate to create your Access Token and Access Token Secret. Screenshot2025 08 20at15 47 34 Pn

Step 9: Configure X OAuth

  • Copy and paste API Key and API Key Secret into your bitLogin OAuth Settings - X page. Screenshot2025 08 20at15 47 34 Pn

Step 10: Enable X Login

  • Toggle the Use your store name on X login switch until it turns green.
  • Click Save Changes.
Screenshot2025 08 20at15 47 34 Pn
🎉 Congratulations! You’ve now configured X OAuth successfully.