Ship an app / Installation & updates

Installation & updates

Publish your app at an HTTPS URL. Developers can distribute a web app directly by sharing that URL with WorkOS users.

Publish the app

  1. Upload your app files to a static host. If you used a bundler, upload its production output. Keep the manifest, icons, and JavaScript modules at the URLs referenced by the HTML.
  2. Open the public app URL in a fresh browser. Confirm that the page and manifest both load. Check that the start URL also opens your app directly.
  3. In a regular WorkOS Browser tab, open that URL and choose ⋯ → Install to Desktop… → Install. Open the app from its desktop icon. Private browsing sessions do not offer installation.

The hosted starter is an installable example. WorkOS reads its relative manifest link and uses the same-origin start URL as its identity. For offline use, ship and test your own cache strategy. The starter loads its assets over the network.

Check host availability

The installed-app capability bridge is enabled in WorkOS debug builds. Release builds expose it only when the host ships with the Boolean setting WorkOSHostedCapabilities enabled. Only an installed app’s in-scope, top-level document can use its grants. A normal tab uses the browser adapter.

Test both entry points. In a regular browser, Word Count should import a read-only file. On an eligible WorkOS installation, open a text file from Files → Open With… → Word Count. The window should show the filename and count without another picker.

Update an installation

Keep the app identity stable and deploy new assets to your host. When capabilities, handlers, or commands change, open the app URL in the original WorkOS Browser profile, choose Install to Desktop…, review the declarations, and choose Update. Users can review or disable granted services from the app menu.

Troubleshoot

SymptomWhat to check
WorkOS cannot install the appUse a regular tab and check that the linked manifest returns JSON with a name or short name. Keep the start URL on the page’s origin.
The app opens, but a file type is missing from Open WithVerify HTTPS, host capability support, the files.read declaration, MIME type or extension, and the handler’s in-scope action URL. Review the updated installation in the original profile.
A picker returns E_CANCELLED or E_BUSYKeep the current document on cancellation. For a busy picker, bring the window forward and finish the open dialog before trying again.
A file operation returns E_DENIED or E_INVALID_HANDLECheck the installation’s permission settings. After navigation or relaunch, ask the user to select the file again.
A save returns E_CONFLICTPreserve the draft and offer Save As. Use the version returned by the last successful read or write for subsequent edits.