Skip to content

Long-lived rider JWT for designated lab seats - #84

Merged
ceedot-rock merged 1 commit into
mainfrom
long-lived-lab-rider-jwt
Oct 15, 2026
Merged

ceedot-rock merged 1 commit into
mainfrom
long-lived-lab-rider-jwt

Conversation

@ceedot-rock

Copy link
Copy Markdown
Owner

What changed

Adds RIDER_LONG_LIVED_AGENT_IDS (comma-separated agent_ids). Seats listed there get a 10-year rider JWT TTL — effectively unending while keeping the exp claim so verifiers stay happy; revocation via JWKS still works. Every other seat keeps the 15-minute default. issueRider keeps its explicit ttlSeconds override, which still wins when passed.

Components touched

  • src/lib/rider.ts (only)

Checks

  • No call-site changes — all 7 issueRider(...) callers use the single-arg form; the new optional param is backward compatible
  • No keys, tokens, or secrets added (env var holds agent IDs only, values set in deploy env)
  • No public API surface change (same response shape, expires_in just larger for listed seats)
  • CI

Deploy note: set RIDER_LONG_LIVED_AGENT_IDS=<agent_id>,... in the hosting env and redeploy for this to take effect.

@ceedot-rock
ceedot-rock merged commit e2d4ba0 into main Oct 15, 2026
5 checks passed
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