Configure the Twitter provider for portals

Note

Effective October 12, 2022, Power Apps portals is Power Pages. More information: Microsoft Power Pages is now generally available (blog)
We will soon migrate and merge the Power Apps portals documentation with Power Pages documentation.

As explained in Configure an OAuth 2.0 provider for portals, Twitter is one of several identity providers that use the OAuth 2.0 protocol. To get started with configuring Twitter as the identity provider, select Configure from the provider settings page.

Important

Twitter authentication for portals is temporarily unavailable because of the compatibility issues.

Configure the Twitter app.

Step 1. Create a Twitter app

To use Twitter as an identity provider, you need to create an app in Twitter with a redirect URL.

Note

The Reply URL is used by the Twitter app to redirect users to the portal after the authentication succeeds. If your portal uses a custom domain name, you might have a different URL than the one provided here.​

To create an app in Twitter

  1. Open Twitter Application Management.

  2. Select Create New App.

    • Enter the app details, such as Name and Description.
    • Enter the Website URL, such as https://contoso.powerappsportals.com.
    • Enter the Callback URL, such as https://portal.contoso.com/signin-twitter.
  3. Select Create your Twitter application.

Step 2. Configure site settings

After you've created the app in Twitter, configure the site settings for the provider:

  • Client ID: A unique app ID generated by Twitter for your app.​
  • Client Secret: The client secret generated by Twitter for your app.

(Optional) Step 3. Additional settings

To configure Additional settings for the Twitter provider, see Configure additional settings for OAuth 2.0 providers.