Skip to content

fix: refer to plugin options instead of app env vars in errors - #2

Merged
naporin0624 merged 1 commit into
mainfrom
fix/generic-error-messages
Oct 26, 2026
Merged

naporin0624 merged 1 commit into
mainfrom
fix/generic-error-messages

Conversation

@naporin0624

Copy link
Copy Markdown
Member

概要

エラーメッセージに利用側アプリの env 名(CF_ACCESS_TEAM_DOMAIN / CF_ACCESS_AUD)が残っていたので、plugin の option(teamDomain / aud)を指す文言に直します。

  • core InvalidAccessTeamDomain: env 名と「plugin を無効にするには」の案内を削除(core は plugin を知らない)
  • payload AccessTargetCollectionNotFound / AccessLogoutEndpointsDisabled: 無効化の案内を「plugin の teamDomain / aud を空にする」に
  • 新文言を確かめるテストを 2 件追加
  • changeset: 両 package を patch(0.0.1)

この release を OIDC trusted publishing の最初の確認に使います。

🤖 Generated with Claude Code

The error messages named CF_ACCESS_TEAM_DOMAIN / CF_ACCESS_AUD, which are
one consumer app's environment variables; the packages only take plain
options. Point the recovery hints at the plugin's teamDomain / aud
options, and drop the plugin hint from the core team-domain error since
core knows nothing about the plugin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@naporin0624
naporin0624 merged commit 4aab6c4 into main Oct 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant