Appearance
X (Twitter) authentication
X (Twitter) authentication lets your users sign in with their X account.
Setup in the X dashboard
- Go to the X developer portal for your account.
- Create an app (or open an existing one).
- 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 Pagein WeWeb.
- Use the full URL of the page you select as
- Copy the credentials X provides (for example
Client IDandClient Secret).
Connect X in WeWeb
- In the WeWeb editor, open the
Data & APItab, then open theAuthenticationsubtab and go toSSO Providers. - Select
Twitter (X)and turn on theEnabletoggle. - Paste your credentials into the fields shown in WeWeb.
- Click
Save.
Test sign in
- Add a “Continue with X” button in
Interface. - Create a workflow on click and add
Sign in with social provider. - Set:
Provider:twitter-xSuccess Page,Error Page, And (optional)New User Page
- 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 WeWeb | Description | Where to find it in X |
|---|---|---|
Client ID | Identifies your X app. | X developer portal app settings. |
Client Secret | Used 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.

