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.
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.
- In Kinde, go to Settings > Authentication.
- In the Social connections section, select Add connection.
- In the window that appears, select X, then select Save. X now appears in the list of Social connections.
- On the X tile, select Configure.
- In the Callback URL section:
- If you use Kinde’s domain as your default, copy the Kinde domain URL.
- 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.
- Use the copied Callback URL to set up the app, see below.
- Sign in to the X Developer Platform.
- In the side menu, select Projects & apps and then select your app.
- In the User authentication settings section, select Set up.
- Set the App Permissions.
- Switch on Request email from users.
- Select the Type of App as Native app.
- Enter the Kinde callback URL you copied earlier.
- Enter your Kinde domain URL, e.g.
https://yourdomain.kinde.com
. - Enter details in other fields if you wish.
- Select Save.
- Select the Key and tokens tab at the top of the page.
- 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.
- In Kinde, go to Settings > Authentication.
- In the list of Social connections, select Configure on the X tile.
- Paste the Client ID and Client secret from the X app into the relevant fields.
- Select which applications will allow users to sign in with X.
- Select Save.
Users will now see X as an option to sign up and sign in to the selected applications.
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.
Authentication and access