TL;DR: Applications can connect Linear and other SaaS tools without building OAuth redirects, refresh logic, or token storage, while still returning a usable access token for API calls, according to WorkOS. The security question is not whether the flow is simpler, but who now owns the trust boundary, token lifecycle, and revocation model.
At a glance
What this is: WorkOS Pipes is a connector pattern for pulling Linear data into an app without implementing OAuth in the application itself.
Why it matters: It matters because IAM, NHI, and application teams still have to govern third-party access, token handling, and reauthorization even when the OAuth plumbing is outsourced.
👉 Read WorkOS's tutorial on connecting Linear through Pipes without OAuth
Context
OAuth delegation is a governance problem as much as a development problem. When an application depends on third-party account access, the real risk is not only the redirect flow, but the lifecycle of the access token, the refresh path, and the place where responsibility shifts between the app and the integration layer. That is an NHI control question because the credential now behaves like a workload secret with an external trust boundary.
WorkOS Pipes moves the operational burden away from the application code, but it does not remove the identity issue. The app still relies on a non-human credential to reach Linear and similar services, which means access scope, reauthorization, and storage expectations must be clear before the integration ships. For most teams, that starting point is familiar but often under-governed.
Key questions
Q: How should security teams govern delegated SaaS access without handling OAuth themselves?
A: Security teams should govern delegated SaaS access by treating the integration as a managed non-human identity, not as an invisible convenience layer. That means assigning ownership, limiting scopes, logging token use, and defining offboarding. If the application never touches refresh logic, the governance burden still exists and should be explicit in IAM and application controls.
Q: Why do third-party connector patterns create NHI risk even when tokens are refreshed automatically?
A: Automatic refresh reduces friction, but it does not remove identity risk. The open questions remain who approved the connection, whether scopes are still justified, and how access is revoked when the business need changes. A refreshed token is only safe if the lifecycle behind it is still valid.
Q: What breaks when an app relies on a hidden token broker for external data access?
A: What breaks first is visibility. Teams can lose track of where credentials are stored, how long a connection has existed, and whether the current scopes still match the original purpose. That makes it harder to detect overuse, stale access, and disconnected ownership across the integration path.
Q: Who should be accountable for third-party account connections in application workflows?
A: Accountability should sit with the team that owns the data use case, not only with the developer who added the connector. The owner must know which provider is connected, what data is in scope, and when the connection should be removed. Without that, delegated access becomes an orphaned access path.
Technical breakdown
OAuth delegation layers in third-party app integrations
Pipes inserts an integration layer between the app and the provider API. The application asks WorkOS for a usable access token, while WorkOS manages the OAuth flow, token refresh, and credential storage behind the scenes. That architecture reduces custom auth code, but it also centralises trust in the connector layer. The important technical point is that the application no longer owns the full token lifecycle. It owns consumption of the token, not creation, refresh, or storage. That changes where failures show up: in scopes, token availability, revocation timing, and the assumption that a valid token is always equivalent to a valid business permission.
Practical implication: treat the connector as part of your identity control plane and review who can request tokens, for which provider, and under which scopes.
Token refresh and reauthorization as NHI lifecycle controls
The article’s pattern depends on refreshed access tokens being available when the backend needs them. That is a lifecycle model, not just an auth convenience. Tokens expire, scopes can be missing, and users may need to reconnect through the widget. In NHI terms, that means the access object is short-lived but the governance obligation is continuous. Teams should think about issuance, renewal, and reauthorization as one chain. If any step is weak, the application experiences either broken access or overbroad persistence. The key architectural detail is that the app is now downstream of a managed credential lifecycle it does not directly operate.
Practical implication: align your token expiry, reconnect workflow, and access review process so an expired integration does not become an unnoticed privilege gap.
Provider widgets shift UX, not accountability
The Pipes widget simplifies account connection, but the widget is only the user-facing layer. Underneath, the application is still consuming third-party data through delegated access. That means the security model still has to answer who approved the connection, what data the provider can expose, and how the integration is retired when no longer needed. In practice, this is where many teams overestimate abstraction. A smoother UI does not equal a smaller attack surface. It only makes the delegation path easier to use, which can be helpful or dangerous depending on how well the surrounding NHI governance is defined.
Practical implication: define approval, scope, and offboarding controls before you rely on a widget to broker third-party access.
Breaches seen in the wild
- Salesloft OAuth token breach — hackers stole OAuth tokens to access Salesforce data via Salesloft.
- Shai Hulud npm malware campaign — Shai Hulud campaign: npm malware exposed secrets on GitHub.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
OAuth abstraction creates an NHI governance blind spot: the application no longer owns the credential workflow, so teams can lose sight of where tokens are stored, refreshed, and revoked. The trust boundary moves, but accountability does not. That means the control issue is not whether OAuth is hidden from developers, but whether identity ownership is still explicit across the integration chain.
Provider access without lifecycle clarity is where delegation fails in practice: the article shows an architecture that can request fresh tokens on demand, but that does not answer who is responsible when a connection is stale, over-scoped, or no longer needed. The underlying failure mode is familiar in NHI programmes: access persists longer than the business context that justified it. Practitioners should recognise that delegated integrations still need lifecycle governance even when the app never handles refresh code directly.
Workload access to SaaS tools should be governed like any other non-human identity: Linear access obtained through a backend token is not a “lightweight” exception to IAM. It is a machine-to-machine trust relationship with scope limits, expiry, and revocation consequences. OWASP-NHI and Zero Trust thinking both apply here because the app is consuming external data through an identity object that can be mis-scoped, reused, or left connected after the original need has passed. The implication is straightforward: treat integration access as governed identity, not as convenient plumbing.
Connector platforms are becoming an operating layer for delegated access: when a product handles OAuth on behalf of many applications, it starts to function like a shared identity broker. That concentrates operational simplicity, but it also concentrates risk when teams assume the broker has solved governance for them. The market signal for IAM teams is that more integrations will externalise auth mechanics while leaving the security accountability inside the enterprise. Practitioners should reassess which controls must remain internal even when the auth workflow is outsourced.
Named concept: delegated access residue: once a connection is established, the credential and its scopes can outlive the original implementation effort, the engineer who wired it, and sometimes the business need that created it. That residue is what makes third-party SaaS integrations difficult to govern at scale. The practical conclusion is to measure not just whether an integration works, but whether every live connection still has an owner, a purpose, and a renewal path.
From our research:
- 91% of former employee tokens remain active after offboarding, leaving organisations vulnerable to potential security breaches, according to The 2025 State of NHIs and Secrets in Cybersecurity.
- 62% of all secrets are duplicated and stored in multiple locations, causing unnecessary redundancy and increasing the risk of accidental exposure.
- That same lifecycle discipline is central to the Ultimate Guide to NHIs, which frames connection ownership, rotation, and offboarding as ongoing controls, not one-time setup tasks.
What this signals
Delegated integration platforms will keep shifting the auth burden away from application teams, but the governance burden stays inside the enterprise. The practical consequence is that IAM and platform teams need shared visibility into provider scopes, connection owners, and revocation paths, even when developers never handle OAuth directly. That is especially relevant in environments where external data access is now a product feature rather than an exception.
The signal for practitioners is that connector convenience can hide long-lived access residue. Delegated access residue: the token, scope, and owner relationship persist longer than the original implementation effort, which makes stale third-party access harder to notice. Teams should align that reality with their NHI lifecycle controls and with external guidance such as the OWASP Non-Human Identity Top 10 and the Guide to the Secret Sprawl Challenge.
If your programme already struggles with service account ownership, third-party SaaS connectors will expose the same weakness in a more distributed form. The right response is to make connection approval, scope review, and offboarding visible in the same control plane that handles other non-human identities, rather than treating them as application-specific exceptions.
For practitioners
- Map delegated integration ownership to a named business process Assign a clear owner for each provider connection, including who approves scope changes, who responds to reauthorization failures, and who removes the connection when the use case ends. This prevents the connector from becoming an orphaned access path.
- Review provider scopes as part of NHI access governance Document the minimum provider scopes needed for each integration and make scope expansion a reviewed change, not a code-only update. In practice, the scope list should be visible to IAM and application owners, not hidden inside the integration layer.
- Treat token refresh failure as a governance signal When the backend cannot obtain a fresh token, route the failure to a defined operational queue rather than silently retrying forever. That failure may mean stale consent, revoked access, or a broken lifecycle state that needs review.
- Build offboarding for connected SaaS accounts Create a removal workflow for third-party connections that includes revocation, owner notification, and confirmation that no dependent service still expects the token. This is the same lifecycle discipline used for other non-human identities.
Key takeaways
- WorkOS Pipes removes OAuth implementation work from the app, but it does not remove the identity governance responsibilities that come with delegated third-party access.
- The main control problem is lifecycle ownership, because refreshed tokens still need scope review, revocation, and offboarding when the business need changes.
- Teams should govern connector-based access as a non-human identity pattern, with explicit ownership and visibility across the whole delegation chain.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-03 | Covers token lifecycle and rotation risks for delegated provider access. |
| NIST CSF 2.0 | PR.AC-4 | Delegated provider access needs least-privilege governance and ongoing access control. |
| NIST Zero Trust (SP 800-207) | AC-4 | Zero trust access decisions apply to external SaaS connections and backend token use. |
Review third-party access paths against least-privilege requirements and remove stale entitlements.
Key terms
- Delegated Access: Delegated access is when one system or user is allowed to act on behalf of another identity to reach an external service. In practice, it creates a governed trust chain with scope, expiry, and revocation requirements that must be tracked even when the application never handles the full OAuth flow.
- Token Lifecycle: Token lifecycle is the sequence of issuance, use, refresh, expiry, and revocation for a credential. For non-human identities, the lifecycle matters as much as the token itself because stale or overbroad access often appears when renewal and offboarding are not managed together.
- Integration Broker: An integration broker is a service that centralises connection handling between an application and third-party providers. It reduces application complexity, but it also becomes part of the identity trust boundary because it can store credentials, refresh tokens, and mediate authorization decisions.
- Access Scope: Access scope is the set of permissions a token or connection is allowed to use. For non-human identity governance, scope is the practical limit on blast radius, so teams should review it as a control rather than as a setup detail.
Deepen your knowledge
OAuth delegation and token lifecycle governance are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building integrations that hide OAuth plumbing behind a broker, it is worth exploring.
This post draws on content published by WorkOS: Fetch Linear issue data without OAuth using WorkOS Pipes. Read the original.
Published by the NHIMG editorial team on 2026-01-22.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org