Skip to content

Conversation

@smith-and-web
Copy link

@smith-and-web smith-and-web commented Jan 22, 2026

Description

The documentation previously instructed users to select "Web App, Automated App or Bot" for the X app type. This causes OAuth 1.0a authentication to fail with Twitter error code 32 ("Could not authenticate you").

Changes

  • Changed app type from Web App, Automated App or Bot to Native App
  • Added a note explaining why Native App is required

Problem

When configured as a Web App, the OAuth 1.0a flow fails when Postiz attempts to generate an auth link. Users see a generic {"err":true} response with no additional details.

Solution

Selecting Native App enables proper OAuth 1.0a authentication, which is required for the Twitter v1 API (used for media uploads).

Testing

Verified fix by:

  1. Creating X Developer app as "Native App"
  2. Configuring X_API_KEY and X_API_SECRET in Postiz
  3. Successfully connecting X account through Postiz UI

This will close issue #212

Summary by CodeRabbit

  • Documentation
    • Updated X/Twitter OAuth setup guidance to clarify that Native App selection is required for OAuth 1.0a authentication. Added warning that selecting Web App, Automated App, or Bot may result in authentication failure (error code 32).

✏️ Tip: You can customize this high-level summary in your review settings.

The documentation previously instructed users to select "Web App, Automated
App or Bot" for the X app type. This causes OAuth 1.0a authentication to
fail with Twitter error code 32 ("Could not authenticate you").

The correct app type is "Native App", which enables proper OAuth 1.0a
authentication required for the Twitter v1 API (used for media uploads).
@coderabbitai
Copy link

coderabbitai bot commented Jan 22, 2026

📝 Walkthrough

Walkthrough

Documentation update to X/Twitter OAuth1 provider guidance, replacing the recommended App Type selection from "Web App, Automated App or Bot" to "Native App" and adding a clarification note about OAuth 1.0a requirements and potential authentication failures.

Changes

Cohort / File(s) Summary
X/Twitter OAuth Documentation
providers/x-twitter.mdx
Updated OAuth1 setup App Type guidance: "Web App, Automated App or Bot" → "Native App"; added clarification note that Native App is required for OAuth 1.0a and that incorrect selection causes error code 32 authentication failures

Possibly related issues

Poem

🐰 A note for the docs, crisp and clear,
"Use Native App," we now declare,
Error 32 shall disappear,
Authentication, beyond compare! ✨

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and clearly summarizes the main change: updating X/Twitter documentation to use Native App instead of Web App for OAuth configuration.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@smith-and-web
Copy link
Author

Will close issue #212

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant