---
title: "Set up login with X (Twitter) in your app"
description: "If you have activated the Authentication extension, you have the option to allow your users to log into your app with their Twitter account (native apps only)."
canonical_url: "https://www.goodbarber.com/help/set-up-user-authentication-and-groups-r102/set-up-login-with-x-twitter-in-your-app-a57/"
lang: en
---

# Set up login with X (Twitter) in your app

Source: https://www.goodbarber.com/help/set-up-user-authentication-and-groups-r102/set-up-login-with-x-twitter-in-your-app-a57/

If you have activated the [Authentication extension](https://www.goodbarber.com/help/set-up-user-authentication-and-groups-r102/add-the-user-authentication-extension-a149/), you have the option to allow your users to log into your app with their X (Twitter) account (native apps only).

**You already set a [X (Twitter)](https://www.goodbarber.com/help/connect-facebook-and-x-r43/x-twitter-a32/) section**, it means that you have created your X (Twitter) application:
1. Go to **Settings > Registration settings > Registration process :: Connection/Subscription tab**
2. Under "External Services" turn the "Authorize X (Twitter) connection" button to **ON**.
3. Paste the **Consumer Key** and **Consumer Secret** in the appropriate fields.

![](https://cmsphoto.ww-cdn.com/superstatic/1663330/art/default/27992448-27876950.jpg?v=1652440735.5349367)

**You don't have a X (Twitter) application yet**:
1. Follow the instructions given in this [online help](https://www.goodbarber.com/help/connect-facebook-and-x-r43/x-twitter-a32/) to create a X (Twitter) app
2. Copy your **Consumer Key** and **Consumer Secret**
3. Paste them in the menu **Settings > Registration settings > Registration process :: Connection/Subscription tab**

*Note: To set up the login via X (Twitter), the Access Token and Access Token Secret are not necessary* *, follow up instructions up to step 3 included, of the [X (Twitter) online help](https://www.goodbarber.com/help/connect-facebook-and-x-r43/x-twitter-a32/) .*
