SETUPX APP CREDENTIALS
This server has no X app credentials and is not accepting user-supplied ones, so sign-in is switched off.
Add your X app keys.
Open the admin page with Ctrl+Shift+A and set them under X credentials. Nothing needs a restart. Values in .env are used only to seed the first boot.
- In the X developer portal, open your project app and turn on User authentication settings.
- Set the app type to Web App, Automated App or Bot (confidential client).
- Set app permissions to Read and write.
- Set the callback URL to
/auth/x/callback exactly.
- Copy the OAuth 2.0 Client ID and Client Secret.
- Put them in
.env as X_CLIENT_ID and X_CLIENT_SECRET, then restart.
Scopes requested: tweet.read, tweet.write, users.read, offline.access.