Merged
Conversation
Contributor
Greptile OverviewGreptile SummaryAdded support for the Pipes Key Changes
Security AssessmentNo security issues found. The implementation correctly avoids logging sensitive fields like Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant Client
participant WorkOS
participant Pipes
participant Serializer
participant API as WorkOS API
Client->>WorkOS: pipes.getAccessToken({provider, userId, organizationId})
WorkOS->>Pipes: getAccessToken()
Pipes->>Serializer: serializeGetAccessTokenOptions()
Serializer-->>Pipes: {user_id, organization_id}
Pipes->>API: POST /data-integrations/{provider}/token
alt Success with token
API-->>Pipes: {active: true, access_token: {...}}
Pipes->>Serializer: deserializeGetAccessTokenResponse()
Serializer->>Serializer: deserializeAccessToken()
Serializer-->>Pipes: {active: true, accessToken: {...}}
Pipes-->>Client: Success response with token
else Not installed
API-->>Pipes: {active: false, error: "not_installed"}
Pipes->>Serializer: deserializeGetAccessTokenResponse()
Serializer-->>Pipes: {active: false, error: "not_installed"}
Pipes-->>Client: Failure response
else Needs reauth
API-->>Pipes: {active: false, error: "needs_reauthorization"}
Pipes->>Serializer: deserializeGetAccessTokenResponse()
Serializer-->>Pipes: {active: false, error: "needs_reauthorization"}
Pipes-->>Client: Failure response
end
|
kqiu-workos
approved these changes
Nov 21, 2025
875e0aa to
d75776a
Compare
nicknisi
approved these changes
Dec 3, 2025
d75776a to
84bbefa
Compare
Merged
dandorman
added a commit
that referenced
this pull request
Dec 4, 2025
## Description - includes #1394 ## Documentation Does this require changes to the WorkOS Docs? E.g. the [API Reference](https://workos.com/docs/reference) or code snippets need updates. ``` [ ] Yes ``` If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This adds support for the Pipes get-access-token endpoint.
Documentation
Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.
If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.