caelum0x 427979d10e feat(toolgate): connect a team's provider account over OAuth 2
POST /v1/credentials/oauth/{provider}/connect returns the provider's
authorize URL with PKCE S256 and a signed, expiring state (no server
session); the callback exchanges the code and seals the access token
(expiry in meta) and the refresh token as write-only credentials.
Credential resolution renews an access token that is about to expire.
Providers opt in with an oauth block; apps come from
SWITCHYARD_OAUTH_CLIENTS.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 19:39:19 +03:00
..