Issue
The onAuthorized event from the Zoom Apps SDK is not firing after a user clicks “Allow” on the consent dialog when my app is hosted on a custom domain. The same code works correctly on ngrok.
Environment
- SDK Version: @zoom/appssdk 0.16.36
- Zoom Client: 6.6.11.70003 (Mac)
- Domain: Custom domain on Azure Static Web Apps
- In-Client OAuth: Enabled
Steps to Reproduce
- Open Zoom meeting as host
- Launch app from Apps panel
- Consent dialog appears
- Click “Allow”
zoomSdk.authorize()returns{"message":"Success"}- Expected:
onAuthorizedevent fires - Actual: Event never fires, times out after 60 seconds
Key Finding
| Test | Result |
|---|---|
| ngrok domain | |
| Custom domain | |
| ngrok app with Home URL set to custom domain |
This proves the issue is domain-specific.
Diagnostic
Added window.addEventListener('message', ...) to capture all postMessages.
Result: No postMessage is received from Zoom when clicking “Allow”.
Configuration Verified
- Home URL matches OAuth Allow List
- Domain Allow List includes my domain
- In-Client OAuth enabled
authorizeandonAuthorizedin SDK capabilities
Has anyone else experienced this? Is there additional domain validation beyond the OAuth Allow List?