Management API Reference

Authentication

X (Twitter) Login

Learn how to interact with X Login

To enable Twitter Auth for your project, you need to set up a Twitter OAuth application and add the application credentials in the Openfort Dashboard.

Overview#

Setting up Twitter logins for your application consists of 3 parts:

Twitter Auth

Configuration#

  1. Create Project and App:
  • Click "+ Create Project", enter project name, and select use case.
  • Enter a project description and app name.
  • Copy and save your API Key (client_id) and API Secret Key (client_secret).
  1. Set Up App Settings:
  • Click on "App settings".
  • Go to "User authentication settings" and click "Set up".
  1. Configure App Permissions:
  • Turn ON "Request email from users".
  • Select "Web App" as the Type of App.
  • Enter Callback URL, Website URL, Terms of service URL, and Privacy policy URL.
  1. Set up X in Openfort:
  • Go to the Openfort Project Dashboard.
  • Click on the Authentication icon and then Providers.
  • Click on Twitter Enabled to turn it ON.
  • Enter the Twitter Client ID and Twitter Client Secret.