Skip to content

WorkIQ Sign in does not open a browser and times out after 30 seconds. #3785

Open

Description

@xdbaker

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.


Field Value
App version 1.1.19
OS Windows 10.0.26200
Theme GitHub
Path /chat
Tenure Day 1

Activity

  1. cm4vr commented on Sep 25, 2026

    @cm4vr

    same problem

  2. siva-msft commented on Oct 14, 2026

    @siva-msft

    I reproduced this on macOS and captured the native MSAL diagnostics hidden behind the generic platform_broker_error.

    Environment:

    • GitHub Copilot app 1.1.29, embedded CLI runtime 1.0.95-3
    • Standalone Copilot CLI 1.0.98-2 reproduces the same failure
    • macOS 26.7.1
    • Company Portal 5.2508.0
    • MDM enrolled, device compliant, Platform SSO registration complete
    • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions