Shopify: enable access to webhook creation for staff

Unfortunately this is not documented on Shopify’s own help. To give staff members (e.g. developers) permission to add webhooks on Shopify, they need the Store Settings / Manage settings permission, possibly also “View customer events” and “Manage and add custom pixels” and “Store policies” permissions: setting these up in addition to App development helped my…

Weiterlesen

Changing the mountpoint on auth_on_register webhook for VerneMQ

It is possible to pass modifiers along with the “result”: “ok” return value of your webhook for VerneMQ. The official documentation of VerneMQ gives some examples for the syntax. changing the mountpoint It is also possible to change the mountpoint, however the client_id apparently has to be passed in as well! I have raised an…

Weiterlesen

Debugging VerneMQ connection / authentication problems for dual authentication with webhooks and vmq_diversity

TL;DR https://github.com/vernemq/vernemq/blob/master/apps/vmq_diversity/src/vmq_diversity_plugin.erl includes a statement which will block authentication / authorization through any other channels if your Lua script returns “false”: will lead to: instead of trying other plugins, as you might have assumed! In order to avoid this problem, simply do not return anything from your Lua script, if you do not want to…

Weiterlesen