Skip to content

feat: local gateway auth token proxy#1275

Merged
jonathanlab merged 2 commits intomainfrom
fix/local-gateway-proxy
Mar 17, 2026
Merged

feat: local gateway auth token proxy#1275
jonathanlab merged 2 commits intomainfrom
fix/local-gateway-proxy

Conversation

@jonathanlab
Copy link
Contributor

@jonathanlab jonathanlab commented Mar 17, 2026

i built a proxy for our proxy

Everytime we refreshed our oauth token, we had to tear down, and respawn Claude/Codex (because you can't change the auth token passed into either CLI at runtime). This sucks, because it's unreliable and buggy. Instead, what if we just proxy the request and pass in the right/updated token in that auth proxy before sending the request off to the gateway?

I also got rid of the manual session recreation logic.

Tested manually, seems all good 🤷🏻

@jonathanlab jonathanlab requested a review from a team March 17, 2026 13:23
@jonathanlab jonathanlab changed the title local gateway auth token proxy feat: local gateway auth token proxy Mar 17, 2026
Copy link
Contributor

@joshsny joshsny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems legit

…rgery

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@jonathanlab jonathanlab merged commit ca09532 into main Mar 17, 2026
14 checks passed
@jonathanlab jonathanlab deleted the fix/local-gateway-proxy branch March 17, 2026 13:54
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.

2 participants