Wondered if anyone can help me with my first effort into plugin building!
I am trying to create a plugin that enables me to use the Zoom Meeting SDK so that we can host meetings directly inside of our app.
So far I have installed the SDK via CDN, defined the group in which I want the player to come through but then I’m stuck.
I have to run some script on a server-side node event which I have got the code working in playground and returning the expected signature, but I can’t seem to get this to run successfully within bubble and it seems to return no values when I call it from a client side workflow.
I am sure it will be very basic but can’t for the life of me figure it out?
Here’s the code that works and outputs the signature I need on playground. Then when I put that into a server side action on plugin struggling to retrieve the signature I need to then be put into a client side action that let’s them join the Zoom meeting.
I am then taking that code and installing it into a Server Side Action in the Bubble plugin editor between the required function(prop…) {}, installing the correct node package and setting a Returned Value of sdkJWT:
I am then setting up the front-end workflow to trigger this action on button click with a second workflow step that sets the state of the page with the sdkJWT returned output:
There is no env variables in SSA. Actually I’m not sure if you have process at all.
If you need to pass secrets yoou need to use the “additional keys” in the “shared” section of the plugin. You can choose to have the key public or private and you can access them like this context.keys.yourkey.
Also you need to return something from the action.
tip for the future: bubble actually tells you what should it be the return object for backend actions, updated with your return fields. It’s visible when you click “show documentation”