Why Does My Custom OAuth Client Show an Invalid Client_id When Used with Pipedream Connect?

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

hey, i have been trying to configure a custom oauth client to be used with pipedream connect but every time I configure it with the client id I have been using, every redirect for when I try and authenticate says the passed in client_id is invalid. If instead of passing in my custom oauthAppId parameter and just leaving it to use pipedreams oauth, it works fine and i have no issues. Would appreciate some help on this

Did you configure the Pipedream redirect URI in the developer console for whatever app you’re using?

No… I tried using both the Frontend SDK and then forming the links based on what the backend sent as a connect link and then adding oauthAppId= at the end of the URL. What would the URL look like that I pass wot the user if I was using the redirect URI?

Have you seen these docs? OAuth Clients - Pipedream

I have been attempting to follow them, and just took another read. It mentions to copy the redirect URI into the app settings, I have not been able to find a field in the dashboard for where to put the URI

Which dashboard?

Which app are you creating an OAuth client for?

It says to: “Redirect URI: Copy this Redirect URI and paste it into the app’s settings”
I have been looking in my projects settings after I created the oauth client and got the redirect URI

I am creating an oauth client for linkedin

Okay, so inside the configuration in LinkedIn there should be a spot to provide a redirect URI, probably near where they gave you the client ID and secret.

Oh, I think I see, I never created a configuration within Linkedin. I was under the wrong assumption that I could just create an oauth client for Linkedin within Pipedream that has the custom permissions I want. It makes a lot of sense that I would have to register with Linkedin to create an app and get granted those permissions.

Hey, I was using an API and using the pipedream proxy(makeProxyRequest) and it sends data in the response headers that I need access too, is it possible to get access to them?

Not currently. Can you tell me more about which API and which headers you’re looking for?

I am trying to use this API:Posts API - LinkedIn | Microsoft Learn

the docs mention how the post id is in the response headers and i need that post id for my application