Skip to content

fix(core): honor OAuth attempt expiration#37557

Merged
rekram1-node merged 2 commits into
v2from
oauth-attempt-expiry
Jul 17, 2026
Merged

fix(core): honor OAuth attempt expiration#37557
rekram1-node merged 2 commits into
v2from
oauth-attempt-expiry

Conversation

@rekram1-node

@rekram1-node rekram1-node commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • allow OAuth providers to supply an absolute attempt expiration
  • preserve the existing ten-minute fallback when providers omit it
  • use xAI device-code expires_in for the enclosing integration attempt
  • cover shorter and longer provider-defined deadlines

Testing

  • bun test test/integration.test.ts test/plugin/provider-xai.test.ts (packages/core)
  • bun typecheck (packages/core)
  • bun typecheck (packages/plugin)

Fixes #36954

@rekram1-node
rekram1-node force-pushed the oauth-attempt-expiry branch from 18afc13 to eaafe0f Compare July 17, 2026 20:57
@rekram1-node
rekram1-node changed the base branch from dev to v2 July 17, 2026 20:57
@rekram1-node
rekram1-node merged commit 987242b into v2 Jul 17, 2026
14 checks passed
@rekram1-node
rekram1-node deleted the oauth-attempt-expiry branch July 17, 2026 21:10
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.

integration: support provider-defined OAuth attempt expiration

1 participant