Make WordPress Core

Opened 5 months ago

#65369 new enhancement

Connectors API: add OAuth authentication method support

Reported by: extrachill Owned by:
Priority: normal Milestone: Awaiting Review
Component: Administration Version:
Severity: normal Keywords: needs-design
Cc: Focuses: administration

Description

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!

Change History (0)

Note: See TracTickets for help on using tickets.