Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Onboarding: connection parent_eid doesn't populate for OAuth connections created in onboarding #585

Open
alwillia opened this issue Dec 19, 2019 · 1 comment
Assignees

Comments

@alwillia
Copy link
Member

alwillia commented Dec 19, 2019

When connecting to an OAuth-type connection in the onboarding, the parent_eid of the newly created OAuth connection needs to be set to the eid of the function mount. Parent_eids for OAuth-type connections created from New->Mount and New->Integration in the function area are set properly.

  1. Go to the onboarding (https://www.flex.io/app/start)
  2. Select the producthunt integration and complete the onboarding
  3. Go to the connections area and examine the API call that returns the connection info
  4. Look for the producthunt connection; parent_eid is empty
@dzwillia
Copy link
Member

Let's look at this together. They're showing up for me.

Do this:

  1. Press F12 to open your dev tools; go to the network tab and clear the list
  2. Go to the onboarding (https://www.flex.io/app/start)
  3. Select the Shopify integration and complete the onboarding
  4. If you look at the network calls, you'll see that things happen in this order:
    i. the Shopify OAuth connection is created (without a parent_eid)
    ii. the function mount connection is created
    iii. the Shopify OAuth connection is updated with the parent_eid of the function mount

When I went to the connections area and refreshed, it showed up with the proper parent_eid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants