Draft hosted callback is not dispatched — App ID 690977

We are developing ID Connect by Veltrovi, a private Draft add-on registered under our developer account.

We have encountered an issue where ServiceM8 does not appear to dispatch the hosted callback when the add-on is launched from the Web Add-ons menu.

Application details

App ID: 690977

Application type: Self-Hosted Web Service Function

Draft status: Ready

Add-on status: ON

Manifest version: 0.3.0

Registered event: credential_home

OAuth scopes: vendor read_staff

Hosted callback URL:

https://digital-id-staging.veltrovi.co.uk/integrations/servicem8/callback

Issue observed

On 14 October 2026 at approximately 13:38:40 UTC, we launched ID Connect from the ServiceM8 Web Add-ons menu.

ServiceM8 displayed an invalid-response/configuration error.

However, no corresponding HTTPS POST reached our Cloudflare Worker, and our callback-receipt records remained at zero.

We have independently verified that:

The callback endpoint is publicly reachable over HTTPS.

Cloudflare Access does not restrict the callback route.

Controlled unsigned POST requests reach the endpoint and correctly return HTTP 401.

The manifest validates and the add-on is enabled.

OAuth authorisation and Staff synchronisation work successfully.

The issue therefore appears to occur before our callback handler receives a request.

Could your developer team please investigate the hosted callback dispatch configuration for App ID 690977 and advise why ServiceM8 is not issuing the expected HTTPS POST?

We would also appreciate confirmation that the callback URL and manifest event configuration are correct for a Self-Hosted Web Service Function.

Hi Nic,
For a Self-Hosted Web Service add-on, clicking a menu item configured with an event should invoke the add-on’s configured callback URL with an HTTPS POST.
The configuration to check is:

  • Callback URL: Save your Worker endpoint as the callback URL in the add-on’s settings. This is separate from the activation URL, which starts the installation/OAuth flow.
  • Web Add-ons menu: The manifest entry belongs in menuItems, with type: "addon" and event: "credential_home", alongside the required name and iconURL fields. The menu item’s event identifies the event to invoke on your backend.
  • Request handling: The POST body contains a JWT signed using HMAC-SHA-256 with your App Secret as the key. Your handler needs to accept and verify that signed body.
  • UI response: Your callback’s output is rendered inside an iframe, so it must allow iframe embedding.
    See our Web Service Hosted Add-ons guide and Manifest Reference.
    To investigate the missing POST and check the configuration saved for your app, please email support@servicem8.com with the App ID, reproduction timestamp and timezone, exact error text or screenshot, saved manifest, callback-setting screenshot, and relevant redacted request logs. Don’t include App Secrets, API keys, access tokens or JWTs.
    Thanks,
    Cody

We have completed additional investigation and corrected an application-side response-format issue.

Our self-hosted callback now returns the documented HTTP 200 JSON response containing eventResponse, with the appropriate embedded-page configuration.

The fix has been deployed and verified with automated tests.

However, a fresh ServiceM8 Web Add-ons launch on 17 October 2026 at approximately 21:06:43 UTC produced the same result:

  • The ID Connect menu entry was visible and enabled.

  • The entry resolved to App ID 690977 and event credential_home.

  • ServiceM8 opened the add-on iframe.

  • The iframe displayed Invalid Response Received.

  • No corresponding HTTPS POST reached our Cloudflare Worker.

  • Our callback-receipt count remained zero.

  • Controlled unsigned POSTs reached the same callback endpoint and were correctly rejected with HTTP 401.

This indicates that the remaining issue occurs before our callback handler receives a request.

Could the ServiceM8 development team please check the stored self-hosted callback routing configuration for App ID 690977, particularly the event credential_home, and confirm which URL the dispatcher is attempting to contact?

Our callback URL remains:

https://digital-id-staging.veltrovi.co.uk/integrations/servicem8/callback

No credentials, JWTs or secrets are included in this update.

Many thanks,

Veltrovi Development

Hi Nic,

For a self-hosted add-on, the callback URL saved in the add-on’s settings is the endpoint that handles all configured events. credential_home should therefore be handled by that endpoint, rather than having a separate callback URL configured for the event.

To request a check of the stored callback URL and dispatch attempt for App ID 690977, please email support@servicem8.com, or reply to your existing support email thread, with the latest reproduction timestamp (17 October 2026, approximately 21:06:43 UTC), the Invalid Response Received screenshot, your saved manifest and callback-setting screenshot, and redacted request logs covering that attempt. Include the response-format fix described here, but don’t include credentials, tokens, JWTs or App Secrets.

Thanks,
Cody