Open
Conversation
Adds developer-portal coverage for the MyYoast OAuth client introduced in Yoast/wordpress-seo#23130: - features/wp-cli/auth: reference for the `wp yoast auth` namespace (status, register, verify, deregister, authorize, revoke, rotate-keys), gated behind YOAST_SEO_MYYOAST_CONNECTION. - customization/yoast-seo/filters/myyoast-oauth-filters: covers the three issuer-config filters (issuer URL, software statement, initial access token), framed as overrides for non-production issuers. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Deploying yoast-developer with
|
| Latest commit: |
2176066
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1e7d604b.yoast-developer.pages.dev |
| Branch Preview URL: | https://oauth-23130.yoast-developer.pages.dev |
Upstream Yoast/wordpress-seo#23130 renamed the three issuer-config filters from `Yoast\WP\SEO\myyoast_*` to `wpseo_myyoast_*`. Update the documentation page and code samples to match. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The three filters (wpseo_myyoast_issuer_url, wpseo_myyoast_software_statement, wpseo_myyoast_initial_access_token) are an internal escape hatch for pointing the client at non-production issuers and require credentials only Yoast can issue. Not appropriate for the public developer portal. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #
Summary
Adds developer-portal coverage for the MyYoast OAuth/OIDC client introduced in Yoast/wordpress-seo#23130. The connection module is gated behind a
YOAST_SEO_MYYOAST_CONNECTIONfeature flag and ships no UI yet, but thewp yoast authWP CLI namespace is publicly observable today and warrants documentation.One new page and the corresponding sidebar entry:
features/wp-cli/auth— reference for thewp yoast authnamespace, covering all subcommands:status,register,verify,deregister,authorize,revoke, androtate-keys. Mentions the feature-flag requirement up front so readers don't waste time on a missing command.Relevant technical choices
features/wp-cli/reindex-indexables.md, which similarly covers all flags ofwp yoast indexon a single page._redirectsentries needed: the URL is new.changelog: non-user-facingand is feature-flagged off.Test instructions
This PR can be acceptance tested by following these steps:
yarnto install dependencies, thenyarn buildto confirm the site builds without broken-link errors.yarn start --no-openand visit:http://localhost:3000/features/wp-cli/auth/— page renders, sidebar entry "MyYoast authentication" appears under Yoast SEO features → WP CLI.:::caution Requires the MyYoast connection feature flagadmonition renders correctly (yellow caution box,define( 'YOAST_SEO_MYYOAST_CONNECTION', true );in a fenced PHP block inside it). Confirm all seven subcommands are listed (status,register,verify,deregister,authorize,revoke,rotate-keys).Quality assurance
_redirectsfile in the root of the project.