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

'Allow Data Sharing' url get stuck on 'Loading' for the Connected Apps #12425

Open
karlafalk opened this issue May 1, 2024 · 5 comments
Open

Comments

@karlafalk
Copy link

Description

As part of the Waterloo Food Commons Project , we want to use Connected Apps to share enterprise profile information through n8n. We translated the url for Canada in Transifex, but when I test, the button changes to 'Loading' and continues to spin (for hours) and won't reset. Also, nothing was 'heard' in the n8n workflow it is connected to.

This has prevented us from triggering our workflow in n8n.

Expected Behavior

Clicking 'Allow Data Sharing' and should trigger the webhook in n8n that has the url the button has been translated to.

Actual Behaviour

Button changes to 'Loading' but gets stuck there and webhook isn't triggered.

Steps to Reproduce

  1. Copy Webhook url into Transifex
  2. Click 'Allow Data Sharing' in OFN Connected Apps
  3. Observe that it continues to say 'Loading'

Animated Gif/Screenshot

Screenshot 2024-04-30 at 2 13 05 PM

Workaround

None - can't trigger n8n webhook from OFN Connected Apps

Severity

https://github.com/openfoodfoundation/openfoodnetwork/wiki/Bug-severity
-->

Your Environment

  • Version used: www.openfoodnetwork.ca
  • Browser name and version: Firefox 125.0.3
  • Operating System and version (desktop or mobile): Mac desktop Ventura

Possible Fix

@filipefurtad0
Copy link
Contributor

I found this bug to prevent the enterprise from connecting: once the infinite loader is seen, one cannot revert it. Refreshing the page / reloading did not improve the situation, i.e., I've found no workaround, as mentioned in the issue.

I think this would make it an S2. What do you think @openfoodfoundation/train-drivers-product-owners?

@RachL
Copy link
Contributor

RachL commented May 23, 2024

It's s2 material but it's not a core feature like checkout. So I would not fix this as part of core budget but instead fix it on funded feature that will use that page. does that make sense?

@kirstenalarsen
Copy link
Contributor

kirstenalarsen commented Jun 4, 2024 via email

@David-OFN-CA
Copy link
Collaborator

@karlafalk is this still an issue for us?

@karlafalk
Copy link
Author

@David-OFN-CA No this isn't really a problem for us now. It only becomes a problem if the connected apps 'Allow Data Sharing' is connected to an incorrect url....if the url doesn't trigger anything it gets stuck 'loading' and the 'Allow Data Sharing' button has to be reset in the backend. But now that we we have it linked correctly to our n8n workflow it is not really an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: All the things 💤
Development

No branches or pull requests

5 participants