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
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:
Name | Name in Twitter |
---|---|
Client ID | API Key |
Client secret | API Secret |
Client ID 2 | Access Token |
Client secret 2 | Access Token Secret |
Chat ID | Twitter ID |