feature: OAuthHelper only supports 3 of 38 platforms #242

Open
opened 2026-06-29 14:23:27 +00:00 by jmiller · 1 comment
Owner

Description

OAuthHelper has hardcoded OAuth configuration for only 3 platforms:

  • Facebook (Graph API OAuth)
  • LinkedIn (OAuth 2.0)
  • Twitter (OAuth 2.0 with PKCE)

The remaining 35 platforms that use OAuth (e.g., Instagram shares Facebook's OAuth, but Google Business, YouTube, Blogger, TikTok, Pinterest, Reddit, Threads, Tumblr, etc.) have no OAuth flow support. Users must manually obtain and paste tokens for these platforms.

Impact

  • Severity: Low-Medium -- manual token entry works but is error-prone and tokens expire
  • Affected file: source/packages/com_mokosuitecross/src/Helper/OAuthHelper.php

Suggested approach

Add OAuth configuration for platforms that support it:

  • Google (covers YouTube, Blogger, Google Business) -- OAuth 2.0
  • Pinterest -- OAuth 2.0
  • Reddit -- OAuth 2.0
  • TikTok -- OAuth 2.0
  • Tumblr -- OAuth 2.0

Low priority since many platforms (Telegram, Discord, Slack, etc.) use bot tokens or webhooks rather than OAuth.

## Description `OAuthHelper` has hardcoded OAuth configuration for only 3 platforms: - Facebook (Graph API OAuth) - LinkedIn (OAuth 2.0) - Twitter (OAuth 2.0 with PKCE) The remaining 35 platforms that use OAuth (e.g., Instagram shares Facebook's OAuth, but Google Business, YouTube, Blogger, TikTok, Pinterest, Reddit, Threads, Tumblr, etc.) have no OAuth flow support. Users must manually obtain and paste tokens for these platforms. ## Impact - **Severity**: Low-Medium -- manual token entry works but is error-prone and tokens expire - **Affected file**: `source/packages/com_mokosuitecross/src/Helper/OAuthHelper.php` ## Suggested approach Add OAuth configuration for platforms that support it: - Google (covers YouTube, Blogger, Google Business) -- OAuth 2.0 - Pinterest -- OAuth 2.0 - Reddit -- OAuth 2.0 - TikTok -- OAuth 2.0 - Tumblr -- OAuth 2.0 Low priority since many platforms (Telegram, Discord, Slack, etc.) use bot tokens or webhooks rather than OAuth.
Author
Owner

Branch created: feature/242-feature-oauthhelper-only-supports-3-of-3

git fetch origin
git checkout feature/242-feature-oauthhelper-only-supports-3-of-3
Branch created: [`feature/242-feature-oauthhelper-only-supports-3-of-3`](https://git.mokoconsulting.tech/MokoConsulting/MokoSuiteCross/src/branch/feature/242-feature-oauthhelper-only-supports-3-of-3) ```bash git fetch origin git checkout feature/242-feature-oauthhelper-only-supports-3-of-3 ```
Sign in to join this conversation.
No labels
Priority Medium
Type Feature
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteCross#242