Skip to content

fix(app): preserve auth token credentials#25636

Merged
kitlangton merged 2 commits intodevfrom
kit/fix-web-auth-token-startup
May 3, 2026
Merged

fix(app): preserve auth token credentials#25636
kitlangton merged 2 commits intodevfrom
kit/fix-web-auth-token-startup

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • Decode startup auth_token query credentials into the web app's server connection.
  • Let token-derived credentials override persisted same-URL servers so protected URLs keep working after app boot.
  • Preserve same-origin PTY auth only for token-derived credentials and strip auth_token from browser history after capture.

Testing

  • bun test src/utils/server.test.ts src/utils/terminal-websocket-url.test.ts src/context/server.test.ts
  • bun typecheck
  • push hook: bun turbo typecheck

@kitlangton kitlangton enabled auto-merge (squash) May 3, 2026 21:05
@kitlangton kitlangton merged commit ca6150d into dev May 3, 2026
10 checks passed
@kitlangton kitlangton deleted the kit/fix-web-auth-token-startup branch May 3, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant