Skip to content

intake(lote-C): import upstream PR #1326#14

Open
nsalvacao wants to merge 2 commits intobaseline/develop-sync-2026-02-17from
intake/lote-C-pr-1326
Open

intake(lote-C): import upstream PR #1326#14
nsalvacao wants to merge 2 commits intobaseline/develop-sync-2026-02-17from
intake/lote-C-pr-1326

Conversation

@nsalvacao
Copy link
Owner

Upstream intake PR for isolated review.

Notes:

  • Contains unresolved conflict markers in the listed frontend files.
  • Added docs/intake-conflicts/pr-1326-conflict-notes.md to guide resolution.

Checklist:

  • Automated checks green
  • Bot review comments triaged
  • Manual review complete
  • Safe for baseline merge

FinleyHolt and others added 2 commits January 18, 2026 15:38
OAuth tokens configured in profiles were not being validated, causing
401 "Invalid bearer token" errors when malformed or invalid tokens were
stored. This was particularly problematic when profile tokens would
overwrite valid tokens from .env files.

Changes:
- Add isValidTokenFormat() helper with token pattern validation
- Update hasValidToken() to validate token format before use
- Validate token format in setProfileToken() before storage
- Validate decrypted tokens in getProfileEnv() and getActiveProfileEnv()
- Return undefined instead of empty string on decryption failure
- Add token source debug logging for troubleshooting

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@gemini-code-assist
Copy link

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

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.

2 participants