Why is the Shopify OAuth app not triggering OAuth flow with the Connect SDK and displaying an API key form instead?

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

Hello! I have an issue I need help with

Subject: Shopify OAuth app not triggering OAuth flow - shows API key form instead Hi Pipedream team, I’m integrating Shopify via your Connect SDK and having an issue with OAuth configuration. **Setup:**OAuth App ID: oa_7AiDXY
• OAuth App configured for: “Shopify (OAuth)” (only Shopify OAuth option in dropdown)
• Client ID & Secret: Added from Shopify Partner App
• SDK version: @pipedream/sdk@2.1.0
Issue: When calling connectAccount() with oauthAppId, the OAuth flow never appears - it always shows an API key form instead.
• **What I’ve tried:**App slugs: shopify, shopify_admin, shopify_developer_app, shopify_partner, shopify_oauth
• Verified OAuth app ID is correctly passed to SDK (confirmed via browser DevTools - iframe shows oauthAppId=oa_7AiDXY in URL)
• QuickBooks OAuth works perfectly with identical pattern

Code:await client.connectAccount({
  app: 'shopify_admin', // Tried multiple slugs
  token: connectToken,
  oauthAppId: 'oa_7AiDXY',
  onSuccess: ...,
  onError: ...
});

Question: What is the correct app slug to use with “Shopify (OAuth)” OAuth apps? The iframe URL shows app=shopify_admin&oauthAppId=oa_7AiDXY but still displays API key form. Thanks!

Hey , you can use the app slug shopify for Shopify OAuth.

You can check out the Pipedream Connect Demo here (I have re-selected the Shopify OAuth app for you): One SDK, thousands of API integrations

You can switch to the Code/Debug tab to understand how it is setup

Hi thanks for the response, this is a helpful interactive tool. However, when I click on the “Connect Shopify (OAuth)” button, this modal pops up.

This is the same modal that pops up on the app Im working on, it clearly asks for a Client ID & Secret, which is NOT Oauth and that is the core of the problem Im having. I cannot get the Pipedream => Shopify OAuth flow to trigger, but instead I always get asked Client ID & Secret

Another thing to note, Ive setup a Shopify-Oauth account in Shopify. The OauthAppId on the modal is DIFFERENT than the OauthAppId I have setup in pipedream.

Despite deleting and creating new Shopify Oauth accounts in Pipedream, the Modal that pops up to trigger the Oauth flow ALWAYS shows oa_g5KiBG and not oa_M4ikZp

having same issue, did you ever figure it out?