Can You Create or Query Pipedream OAuth Clients via API to Get Name, Description, and Scopes?

This topic was automatically generated from Slack. You can find the original thread here.

hey guys, is there a way to create and/or query pipedream oauth clients via API? i.e. getting the name, description, and scopes?

Not currently, no. If you create a feature request in GitHub we can get it on the team’s roadmap. What’s your general use case?

We want to create a few different custom clients for a few apps (i.e. Slack) with different permissions so that users can select how much permissions to give (i.e. read-only client, read-write public channels only, etc.)

Not a problem with storing the info on our end as well and linking through the oauth id, just wanted to see if there was a way to fetch them directly

Gotcha, the use case makes sense

Do you know if there’s another way to do this right now? Or is the way I’m thinking about it the best way to have the concept of permissions selection on our end user side?

Yea, multiple OAuth clients is probably the best way to do it, since unfortunately many apps don’t let you pass a set of scopes dynamically in the authorization request (that’s why we haven’t done the work to expose that capability to Connect developers).

Yep no worries that makes sense. Thanks Danny!