Registering PingFederate in Twitter
To allow PingFederate to process social sign-on requests with Twitter, add PingFederate as an application in the Twitter administrative console.
Steps
-
Sign on to the Twitter developer portal Apps page using a Twitter developer account.
-
On the My Applications Dashboard, create a new Twitter application.
-
In the Name field, enter the name of the application, such as
MyPingFederate
. -
In the Website field, enter the domain for your web application, such as
http://www.example.com
. -
In the Callback URL field, enter the hostname (or virtual hostname) and port of your PingFederate server followed by the Twitter IdP Adapter instance endpoint, such as
https://pf.example.com:9031/ext/twitter-authn
.The default endpoint is
/twitter-authn
. If you set a custom endpoint here, enter the matching value in the Authorization Callback Endpoint field of your adapter instance configuration in Configuring an adapter instance. -
If your web application will use the access token for subsequent Twitter API calls that require read and write access, set the Default Access Type to Read & Write.
-
Complete the configuration based on the needs of your specific environment. For help, see Developer Apps in the Twitter documentation.
-
Click Create your Twitter application.
-
On the application details page, note the Consumer Key and Consumer Secret. You will use these in Configuring an adapter instance