Why Does it Display "via Connect" Even When Official oAuth Apps are Not Supported in Workflow?

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

why does say “via Connect” when it doesn’t support Official oAuth Apps in workflow?

Hi , could you share more details on this

doesn’t support Official oAuth Apps in workflow?

so I’m trying to send a gmail via external user that’s authenticated via pipedream connect. but it says it’s not supported then why is there tag here?

May I ask where does it say it’s not supported?

yes I can share a screenshot of it

Yes please do

shouldn’t pipedream connect be interlinked to workflows as that will make it easier for me to onboard a user via connect and run automations on their behalf?

The error means that you’re trying the run the working with official OAuth app, not the custom oauth app.

How are you calling the workflow?

Could you try to follow the guide here? Running Workflows For Your End Users - Pipedream

via the generate event button for the trigger

Could you try to follow the guide here? Running Workflows For Your End Users - Pipedream

I think this guide clearly define the steps you need to do to test the workflow

meaning to trigger the workflow I will need to use the http webhook and can’t be done via the generate event button, I will try this out and hopefully it works!

I tried to trigger it via the webhook still no luck!
here as you can see I have tried it using postman and I have a user connected to the project via pipedream connect also with the id 123123

Have you pass x-pd-environment: development?

yes, but I think it’s because I’m not using a custom oAuth that’s why it’s not going through? in your docs you mention the following:
When using OAuth apps (like Google Drive, Slack, Notion, etc.) with your end users, you must use your own custom OAuth clients.
So I can’t use Pipedream Connect in the workflow for them?

Yeah, you need to create a custom oauth. It is really important, because you don’t want your end-user to use YOUR Gmail connected account to send email right?

You need to setup your own oauth so that user can authenticate their own Gmail account

but then why can’t we do that via Pipedream connect directly? since that’s storing the OAuth credentials right?

It’s a gap in that part of the product today that we hope to resolve in the future.