You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WorkIQ Sign in does not open a browser and times out after 30 seconds. #3785
WorkIQ Sign in does not open a browser and times out after 30 seconds. Reproduces with one click after restarting and disabling/re-enabling WorkIQ. Opening Microsoft sign-in through Windows works. WorkIQ returns HTTP 401 requesting browser-based OAuth.
Microsoft Enterprise SSO extension installed and running
Fresh Platform SSO token was issued successfully
Native MSAL debug output:
Could not write broker key -34018
Failed to retrieve broker key ... MSAIMSIDErrorDomain, -51808
Received error from SSO extension: com.apple.AuthenticationServices.AuthorizationError, -6000
Apple Security error -34018 is errSecMissingEntitlement. Code-signature inspection of both the embedded and standalone CLI executables shows the Developer ID-signed runtime has JIT, unsigned executable memory, and disabled library validation entitlements, but no application identifier/keychain access group for MSAL's broker-key operation.
This appears to be a production-signing/package issue following github/copilot-agent-runtime#25659, which enabled native MSAL authentication on macOS and explicitly left production-signed packaging as follow-up validation. I filed github/copilot-agent-runtime#26586 with the signing details and proposed validation.
Browser/device-code auth is not a viable fallback in this environment: authentication reaches Microsoft, then Conditional Access rejects the Work IQ CLI flow with AADSTS53003, even though the device is reported compliant. Clearing the MCP token cache also does not address the native failure because explicit reauthentication already deletes the cached WorkIQ OAuth token.
The exact entitlements and redirect registration should be verified against Microsoft's native macOS broker packaging contract, but the captured native error establishes that the current signed CLI cannot complete MSAL's broker-key operation.
Activity
cm4vr commentedon Sep 25, 2026
same problem
siva-msft commentedon Oct 14, 2026
I reproduced this on macOS and captured the native MSAL diagnostics hidden behind the generic
platform_broker_error.Environment:
1.1.29, embedded CLI runtime1.0.95-31.0.98-2reproduces the same failure26.7.15.2508.0Native MSAL debug output:
Apple Security error
-34018iserrSecMissingEntitlement. Code-signature inspection of both the embedded and standalone CLI executables shows the Developer ID-signed runtime has JIT, unsigned executable memory, and disabled library validation entitlements, but no application identifier/keychain access group for MSAL's broker-key operation.This appears to be a production-signing/package issue following github/copilot-agent-runtime#25659, which enabled native MSAL authentication on macOS and explicitly left production-signed packaging as follow-up validation. I filed github/copilot-agent-runtime#26586 with the signing details and proposed validation.
Browser/device-code auth is not a viable fallback in this environment: authentication reaches Microsoft, then Conditional Access rejects the
Work IQ CLIflow withAADSTS53003, even though the device is reported compliant. Clearing the MCP token cache also does not address the native failure because explicit reauthentication already deletes the cached WorkIQ OAuth token.The exact entitlements and redirect registration should be verified against Microsoft's native macOS broker packaging contract, but the captured native error establishes that the current signed CLI cannot complete MSAL's broker-key operation.