What part of your OAuth layer could become managed infrastructure?
A code-first guide to the boundary between WorkOS Pipes, Relay, and the integration logic that stays yours.
What changed?
Pipes provides account connection flows, credential storage, and token refresh. Relay proxies provider requests while retaining credentials.
Read the official sourceWho is affected?
Teams maintaining third-party authorization callbacks, encrypted provider credential storage, and refresh-token workers. Using WorkOS already is not a prerequisite for this architecture question.
What does the code look like?
new URL('https://slack.com/oauth/v2/authorize')
grant_type: 'refresh_token'
const table = 'provider_credentials';A useful match requires several of these signals together. A single mention of OAuth or one SDK dependency is not enough to recommend a migration.
What replaces what?
Account-connection plumbing and credential lifecycle may move to Pipes. Relay can keep credentials outside the calling runtime. Provider-specific business logic, webhook handling, normalization, and domain synchronization remain custom.
What action should you take?
Map the auth lifecycle behind each provider. Verify provider coverage, required scopes, reconnect behavior, and data policy. Prototype one provider and compare the ownership removed with the new vendor dependency.
Tradeoffs to keep visible
- A new dependency on WorkOS and its availability, pricing, and provider support.
- Confirm provider scopes, custom OAuth credentials, data handling, and reconnect requirements.
Check whether your repository is affected.
Public GitHub repositories. No account required. Results are shareable.