[wp-trac] [WordPress Trac] #65369: Connectors API: add OAuth authentication method support

WordPress Trac noreply at wordpress.org
Thu May 28 23:32:23 UTC 2026


#65369: Connectors API: add OAuth authentication method support
----------------------------+-----------------------------
 Reporter:  extrachill      |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:  needs-design
  Focuses:  administration  |
----------------------------+-----------------------------
 The Connectors API should support native OAuth flows. This would unlock a
 lot of capability especially in the AI era.

 **Current State:**

 - Core currently only accepts authentication.method values api_key and
 none in src/wp-includes/class-wp-connector-registry.php.
 - There is an explicit PHPUnit test that rejects oauth as invalid.
 - The admin UI only renders a built-in card for api_key connectors.
 - The WP AI Client bundled in core only has ApiKeyRequestAuthentication;
 its auth enum says “At the moment, this is the only supported method.”

 **OAuth Flows in WordPress Would Unlock:**

 1. Social media connectors
 2. Chat app connectors (WhatsApp, Telegram, Slack)
 3. Analytics app connectors (GA4, GSC, etc)
 4. GitHub, Codex, etc connectors


 I genuinely believe this should happen as soon as possible. Thank you!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65369>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list