You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-v2/pages/connect/api.mdx
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -311,6 +311,10 @@ The ID of the [OAuth app](/connect/quickstart#create-a-pipedream-oauth-client) y
311
311
312
312
Pass `include_credentials=true` as a query-string parameter to include the account credentials in the response.
313
313
314
+
<Callouttype="warning">
315
+
Never return user credentials to the client
316
+
</Callout>
317
+
314
318
<Callouttype="info">
315
319
To retrieve the credentials for any account in `production` for OAuth apps (Slack, Google Sheets, etc), the connected account must be using [your own OAuth client](/connect/oauth-clients#using-a-custom-oauth-client). You can only retrieve end user credentials for accounts that are using Pipedream's OAuth clients in `development`. [Learn more here](/connect/oauth-clients#using-pipedream-oauth).
316
320
</Callout>
@@ -490,7 +494,7 @@ curl -X GET \
490
494
"accounts":[
491
495
{
492
496
"id": "apn_MGhvgnX",
493
-
"name": "dannyroosevelt",
497
+
"name": "gcostanza",
494
498
"external_id": "user-abc-123",
495
499
"healthy": true,
496
500
"dead": null,
@@ -549,6 +553,10 @@ The ID of the account you want to retrieve
549
553
550
554
Pass `include_credentials=true` as a query-string parameter to include the account credentials in the response.
551
555
556
+
<Callouttype="warning">
557
+
Never return user credentials to the client
558
+
</Callout>
559
+
552
560
<Callouttype="info">
553
561
To retrieve the credentials for any account in `production` for OAuth apps (Slack, Google Sheets, etc), the connected account must be using [your own OAuth client](/connect/oauth-clients#using-a-custom-oauth-client). You can only retrieve end user credentials for accounts that are using Pipedream's OAuth clients in `development`. [Learn more here](/connect/oauth-clients#using-pipedream-oauth).
0 commit comments