mirror of
https://github.com/jwadow/kiro-gateway.git
synced 2026-04-25 01:15:57 +03:00
[PR #33] [CLOSED] feat(auth): add support for multiple refresh tokens #62
Labels
No labels
bug
bug
enhancement
enhancement
fixed
fixed
invalid
needs-info
needs-testing
pull-request
question
upstream
wontfix
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/kiro-gateway-jwadow#62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jwadow/kiro-gateway/pull/33
Author: @Kartvya69
Created: 1/11/2026
Status: ❌ Closed
Base:
main← Head:feat/multi-refresh-token-support📝 Commits (4)
8008653feat(auth): add support for multiple refresh tokens5260de5feat(auth): implement token rotation relay with health trackingd5b5605feat(auth): add background refresh to keep all tokens warme6d540aMerge branch 'jwadow:main' into feat/multi-refresh-token-support📊 Changes
5 files changed (+570 additions, -64 deletions)
View changed files
📝
kiro/auth.py(+513 -47)📝
kiro/config.py(+6 -2)📝
kiro/routes_openai.py(+28 -1)📝
main.py(+12 -3)📝
tests/unit/test_auth_manager.py(+11 -11)📄 Description
Summary
Add comprehensive multi-token support with rotation, failover, and background refresh:
GET /health/tokensshows pool status and per-token healthHow It Works
On Startup:
On Request:
New Monitoring Endpoint
Returns:
background_refresh_active: whether background task is runninghas_valid_token,expires_at,healthy, success/failure countsTest plan
CLA
I have read the CLA and I accept its terms.
Author: @Kartvya69
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.