[wp-trac] [WordPress Trac] #64850: Connectors: Add JS extensibility API for custom card rendering and non-API-key authentication support

WordPress Trac noreply at wordpress.org
Thu Mar 12 08:22:15 UTC 2026


#64850: Connectors: Add JS extensibility API for custom card rendering and non-API-
key authentication support
----------------------------+----------------------------
 Reporter:  gziolo          |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Future Release
Component:  Administration  |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  javascript      |
----------------------------+----------------------------
 Follow-up to #64791, which completed the PHP side of the Connectors
 extensibility API (`WP_Connector_Registry`, `wp_connectors_init` action,
 `wp_get_connectors()` and related read functions). The remaining work is
 on improving integration with the JS side.

 Every connector currently renders the same default card (API key input +
 save/remove). Plugins that need custom UI — OAuth flows, token status,
 multi-field forms — have no supported path. An experimental JS API is
 available to register a custom card renderer keyed to a connector ID.

 Additionally, the PHP registry accepts any `authentication.method`, but
 the Connectors screen JS currently renders nothing for non-`api_key`
 connectors. These should surface at minimum as a generic card with a
 `credentials_url` link, or a custom renderer if the plugin provides one
 via item 1. This should cover methods such as OAuth, app passwords, and
 bearer tokens.

 == References

  * #64730 — original Connectors screen
  * #64791 — PHP extensibility API
  * [https://github.com/WordPress/wordpress-develop/pull/11175 wordpress-
 develop#11175], [https://github.com/WordPress/wordpress-develop/pull/11227
 wordpress-develop#11227]
  * [https://github.com/WordPress/gutenberg/pull/75833 Gutenberg#75833],
 [https://github.com/WordPress/gutenberg/pull/76014 Gutenberg#76014]

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


More information about the wp-trac mailing list