Discussions

Ask a Question
ANSWERED

Previously working widget now returning invalid plugin token (Err 2)

Hello, I have had a widget up and hosted for about a month now and it has been working flawlessly. I've not touched the code for it, but despite this it has stopped working and suddenly returns an error instead. When loading a page hosting the widget the widget now says "Invalid plug-in token (ERR2)" And the terminal states a very similar problem, but with slightly more detail referring to JWT. https://i.imgur.com/AsxQpkn.png Any help would be appreciated.
ANSWERED

Please "allow-downloads"

Hey, I'm preparing a plugin which triggers a file download but it get's blocked because the widget iframe's sandbox attribute it missing "allow-downloads". Did you leave it out intentionally or is there a chance you're adding it in some of the next versions? I'm receiving this error: Download is disallowed. The frame initiating or instantiating the download is sandboxed, but the flag ‘allow-downloads’ is not set. See https://www.chromestatus.com/feature/5706745674465280 for more details. BR, Lars.
ANSWERED

Webhook > instanceId === Entrypoint > src ?

I wonder if the webhook's "instanceId" is the same id as the "src" query parameter that get's attached to the plugin's entrypoint url. If that's case it would be great when this gets mentioned in the webhook documentation.
ANSWERED

Where can I submit feature requests for COYO’s plug-in API?

Error Code 400 on https://community.haiilo.com/web/plugins/ec8f7316-d38a-4e68-828e-8a2efe614f2e/init

Hello, in the Haiilo instance community.haiilo.com our plugin is not loaded reliably . We have not been able to reproduce the error in other instances. The request <https://community.haiilo.com/web/plugins/ec8f7316-d38a-4e68-828e-8a2efe614f2e/init?srcld=7b0285c7-1dc2-47b1-ae34-fdeacf8c2171-94dc03f0-dbfd-4c2f-8823-d28b1e9afb35&jti=vZIINPs74iaJrNuC> gets a 400 error back in cases where the plugin is not loaded. Any help will be appreciated :) Best, Simon
ANSWERED

Display user avatars

Image a plugin where users interact with each other. Current viewing user see's the other user's interaction. I like to display their avatars next to their names. Can you give some hints if and how that's possible? I tried the following: Fetch `/api/users` REST API and get their `imageUrls.avatar`. Replace `/api` with `/web` and place this URL into an IMG-tag inside the plugin. This works for Firefox, but Chrome denies this due to SameSite-Attribute of COYOSESSION cookie.
ANSWERED

Is there a way to get a development Instance of Coyo

Hi, i'm Chris from Scitotec. We wan't to start implementing our Plugin for Coyo. Unfortunately we don't have access to an development Instance of Coyo to test the Plugin. Is there a docker stack we could use for us or how can we get a hold of a development instance? Best Regards Chris Langenberg
ANSWERED

Is it possible to get the pluginId from the COYO frontend?

Hi, it would be very convenient, if the plugin adapters init method would also deliver the pluginId. Currently it seems that among some other data, one can only retrieve the tenantId and the pluginInstanceId. Is there anything that would speak up against adding the pluginId to the init response? Would be great. Our current workaround is an extra endpoint in our plugin host backend database to get the pluginId, which is needed for further requests. But we are not too sure if the mapping (tenantId, pluginInstanceId) -> (pluginId) is unique, which forces us to pick the first match in our database. Kind regards, Alex
ANSWERED

Bug Bounty Program Info

Hey team, I have found a critical bug in coyo which leads to sensitive information disclosure where can i report that bug?And do u have any bug bounty program?
ANSWERED

Can one open a popup/dialog from a plugin?

Hi, we would like to open a Popup in Coyo and render some HTML into it. Is there any way to do that? For the reasons: Let's say you have a plugin that requires a whole lot of configuration. With the Plugin adapter you can react to the onEdit action, which set's the plugin in an edit state and shows the configuration options. But now imagine you Plugin to be in the sidebar, right below the navigation, where there are like 270pixels of space available to show the configuration form. That is not a whole lot. So it would be real nice to show the configuration in a Popup not inside the I-Frame but inside coyo. I know that you have to find another way, to trigger the configuration popup, as there could be a lot of popus "onEdit" if there are a lot of plugins on the page. Another way would be to allow custom configurations during the "create" process of the plugin, when you add it to the page. tl;dr: we want to show the configuration of our plugin in an popup which is not in the I-Frame but in coyo, is there any way to do that? With kind regards Chris Langenberg