Skip to main content

Twitter

Step 1: Get the configuration items from twitter

First, sign up for a Twitter developer account, create a Twitter App within the developer portal refer to the documentation: Authentication

Copy your API Key and API Secret, Access Token and Access Token Secret

twitter_items

Step 2: Get Twitter ID

Twitter ID can't be obtained directly, you can get it from some third-party tools.

Step 3: Configure Casdoor Twitter Provider

There are five required fields: Client ID, Client secret, Client ID 2, Client secret 2 and Chat ID. The relationship between the fields and Twitter is as follows:

NameName in Twitter
Client IDAPI Key
Client secretAPI Secret
Client ID 2Access Token
Client secret 2Access Token Secret
Chat IDTwitter ID

twitter_provider