Skip to content

Conversation

dcalhoun
Copy link
Member

Description

Provide GutenbergKit authentication cookies to allow loading protected resources
for private WordPress.com sites.

Testing instructions

  1. Open the editor for a private WordPress.com site.
  2. Insert various media.
  3. Verify the media displays/functions as expected.

@dcalhoun dcalhoun added [Type] Enhancement Gutenberg Editing and display of Gutenberg blocks. labels Jul 11, 2025
@dangermattic
Copy link
Collaborator

1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

dcalhoun added 2 commits July 11, 2025 12:01
The private site feature is WPCOM-specific, so it implies the site is
hosted at WPCOM.
Copy link

@wpmobilebot
Copy link
Contributor

App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number28176
VersionPR #24669
Bundle IDorg.wordpress.alpha
Commit353620d
Installation URL47j7nbt90ean8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Contributor

App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number28176
VersionPR #24669
Bundle IDcom.jetpack.alpha
Commit353620d
Installation URL0gg4vm6fh37q8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@dcalhoun
Copy link
Member Author

This implementation is to simple. It does not work for Atomic sites, nor does it manage expiring cookies.

Superseded by #24680, which relies on a more robust implementation that follows the existing RequestAuthenticator pattern and addresses Atomic site support and cookie expiration.

@dcalhoun dcalhoun closed this Jul 22, 2025
@dcalhoun dcalhoun deleted the feat/authenticate-editor-web-view-requests-for-private-sites branch July 22, 2025 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gutenberg Editing and display of Gutenberg blocks. [Type] Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants