Skip to content

Updating visuals

If you see any images containing outdated UI, please bear with us.

We are updating all content as quickly as possible to mirror our new UI.

X (Twitter) authentication

X (Twitter) authentication lets your users sign in with their X account.

Setup in the X dashboard

  1. Go to the X developer portal for your account.
  2. Create an app (or open an existing one).
  3. In your app’s OAuth settings, add a redirect URL (the URL X sends users back to after login).
    • Use the full URL of the page you select as Success page in WeWeb.
  4. Copy the credentials X provides (for example Client ID and Client Secret).

Connect X in WeWeb

  1. In the WeWeb editor, go to Data & API → Auth → Integrating providers.
  2. Select Twitter (X) and turn on the Enable toggle.
  3. Paste your credentials into the fields shown in WeWeb.
  4. Click Save.

Test sign in

  1. Add a “Continue with X” button in Interface.
  2. Create a workflow on click and add Sign in with social provider.
  3. Set:
    • Provider: twitter-x
    • Success page, Error page, And (optional) New user page
  4. Preview and complete the sign-in flow.

Common pitfalls

Redirect URL mismatch

Make sure the redirect URL in X exactly matches the Success page URL you selected in WeWeb.

Reference

Setting in WeWebDescriptionWhere to find it in X
Client IDIdentifies your X app.X developer portal app settings.
Client SecretUsed to complete the sign-in flow securely.X developer portal app settings.

FAQs

Which redirect URL should I add in X?

Use the full URL of the page you choose as Success page in Sign in with social provider.