Skip to content

fix: local-auth token mismatch + OAuth docs/help#30

Merged
Bccorb merged 2 commits into
mainfrom
fix/oauth-followups
Jul 3, 2026
Merged

fix: local-auth token mismatch + OAuth docs/help#30
Bccorb merged 2 commits into
mainfrom
fix/oauth-followups

Conversation

@Bccorb

@Bccorb Bccorb commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Session follow-ups.

Fix: local auth mode service-token mismatch

With authMode: local, configureAuthLocalEnv ran a second time (via the compose builder) and minted a fresh API_SERVICE_TOKEN in auth/.env, so it no longer matched the token written to the API when running services outside Docker. The compose builder now reads the already-written auth env (extractSharedFromExistingEnv) instead of regenerating it. Docker mode (the default) was unaffected.

Docs / help

  • AGENTS.md: document the OAuth setup flow (setup.oauth -> provider prompts -> buildAuthEnv), the npm Automation-token requirement for publishing (a granular token returns a confusing E404), and the templates-ref bump dance.
  • seamless --help: note that --oauth prompts for OIDC providers and wires them in.

Bccorb added 2 commits July 3, 2026 11:57
The compose builder re-ran configureAuthLocalEnv, minting a new API_SERVICE_TOKEN
in auth/.env that no longer matched the one written to the API. Read the existing
auth env instead. Also document the OAuth setup flow, the npm Automation-token
requirement, and the templates-ref bump in AGENTS.md, and note OAuth provider
setup in the help output.
Picks up the web Dockerfile casing fix so scaffolded projects build on
case-sensitive filesystems.
@Bccorb Bccorb merged commit 0f985b0 into main Jul 3, 2026
1 check passed
@Bccorb Bccorb deleted the fix/oauth-followups branch July 3, 2026 12:04
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