Skip to content
  • Auth and access
  • Social sign in

X (formerly Twitter) social sign in

You can enable users to sign up and sign in using their X credentials. To enable this, you’ll need an X developer platform account and some developer know-how.

ℹ️ You may notice X still has mixed URLs and messaging for the name change from Twitter on their own site. We refer to X in this document.

Create an X app

Link to this section

Sign up for a X developer platform account and add your app.

If you are signing up for the first time, you will be given a default app. If you already have apps, you’ll need to create a project and then add the new app within that project.

Get the Kinde callback URL

Link to this section
  1. In Kinde, go to Settings > Authentication.
  2. In the Social connections section, select Add connection.
  3. In the window that appears, select X, then select Save. X now appears in the list of Social connections.
  4. On the X tile, select Configure.
  5. In the Callback URL section:
    1. If you use Kinde’s domain as your default, copy the Kinde domain URL.
    2. If you use a custom domain (and want to use it as the callback) select the Use custom domain instead switch and copy the Custom domain URL.
  6. Use the copied Callback URL to set up the app, see below.

Set up your X app

Link to this section
  1. Sign in to the X Developer Platform.
  2. In the side menu, select Projects & apps and then select your app.
  3. In the User authentication settings section, select Set up.
  4. Set the App Permissions.
  5. Switch on Request email from users.
  6. Select the Type of App as Native app.
  7. Enter the Kinde callback URL you copied earlier.
  8. Enter your Kinde domain URL, e.g. https://yourdomain.kinde.com.
  9. Enter details in other fields if you wish.
  10. Select Save.
  11. Select the Key and tokens tab at the top of the page.
  12. Copy the Client ID and Client Secret from the Oauth2.0 section and paste them into a text doc or other place where you can get them again later.

View X Developer Platform’s docs for more info about authentication.

Add X credentials to Kinde

Link to this section
  1. In Kinde, go to Settings > Authentication.
  2. In the list of Social connections, select Configure on the X tile.
  3. Paste the Client ID and Client secret from the X app into the relevant fields.
  4. Select which applications will allow users to sign in with X.
  5. Select Save.

Users will now see X as an option to sign up and sign in to the selected applications.

When an email is not provided

Link to this section

X does not require an email for sign up, but Kinde does. So if a user signs up with X and an email is not detected, we will ask for one.

The user only needs to provide their email once, then they can sign in via X without disruption.

If the email they provide is already detected in Kinde, we will automatically link the accounts so as not to duplicate.