---
title: Registering PingFederate in Twitter
description: To allow PingFederate to process social sign-on requests with Twitter, add PingFederate as an application in the Twitter admin console.
component: twitter
page_id: twitter:setup:pf_twitter_cic_registering_pf_in_twitter
canonical_url: https://docs.pingidentity.com/integrations/twitter/setup/pf_twitter_cic_registering_pf_in_twitter.html
revdate: January 21, 2026
section_ids:
  steps: Steps
---

# Registering PingFederate in Twitter

To allow PingFederate to process social sign-on requests with Twitter, add PingFederate as an application in the Twitter admin console.

## Steps

1. Sign on to the Twitter [Developer portal Apps page](https://developer.twitter.com/en/portal/projects-and-apps) using a Twitter developer account.

2. On the **My Applications Dashboard**, create a new Twitter application.

3. In the **Name** field, enter the name of the application.

   For example, `MyPingFederate`.

4. In the **Website** field, enter the domain for your web application.

   For example, `http://www.example.com`.

5. 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.

   For example, `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](pf_twitter_cic_configuring_an_adapter_instance.html). |

6. 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**.

7. Complete the configuration based on the needs of your specific environment. You can find help in [Developer Apps](https://developer.twitter.com/en/docs/apps/overview) in the Twitter documentation.

8. Click **Create your Twitter application**.

9. On the application details page, note the **Consumer Key** and **Consumer Secret**. You'll use these in [Configuring an adapter instance](pf_twitter_cic_configuring_an_adapter_instance.html).
