External Applications and Distribution
The platform uses "External Apps" for two different resources. A Developer Hub external app is an OAuth client that connects an external service as an admin. A distributable external-app plugin holds versioned desktop/device application files, update manifests and download-page metadata. Choose the resource that matches your task before creating credentials or a release.
OAuth clients
The developer routes include an owner-scoped OAuth-client interface with Overview and Settings. Its navigation rail entry is currently commented out, so do not assume every deployment exposes an External Apps button. Ask the platform administrator for the supported route/UI in your environment when needed.
Register and inspect an OAuth client
Use a verified platform account and a team you can access. The registered route family is /{team}/developer/external-apps on the Developer Hub host. It is currently hidden from the rail; confirm deployment support with the platform team before depending on it. These clients belong to the signed-in user, rather than the team named in the URL. Switching teams does not transfer client ownership or make another member's clients yours.
The intended creation path is New external app → Register external app. Enter Application name and Redirect URI, then choose Register app. Creation requires a nonempty name and valid URL, each up to 255 characters; the creation route is throttled. Use the callback URL actually implemented by your server. Registration does not itself install a portal page, grant project data access or complete an OAuth authorization/token exchange.
Current source has two important presentation gaps:
- The list controller supplies
clients, but the Index page readsdata.data. It can display an empty list even when the owner has clients. Do not repeatedly register the same integration to compensate for that display. - Creation places the new ID/secret in a
newClientsession flash value, but the reviewed shared Developer Hub props and pages do not consume/display that value. Although Overview says the secret is shown once, these pages do not provide a verified one-time secret handoff. Do not assume registration furnished a usable secret.
Confirm the created record/ID through an authorized platform administrator or a supported client-management surface. Resolve the list/credential handoff with the platform team before onboarding a production integration. Keep any issued secret in the external service's server-side secret configuration; never put it into browser code, a plugin bundle, a public URL or a support transcript. Overview and Settings do not offer secret reveal, rotation or token diagnostics. Do not infer a recoverable secret from a stored client row.
Overview, Settings and ownership
Open /{team}/developer/external-apps/CLIENT_ID/overview for a known owned, nonrevoked client. Overview shows the application name, client ID, redirect URI and creation time. It does not show a client secret, access token, granted scopes or successful API activity. The base …/CLIENT_ID route redirects to Overview after the same ownership lookup.
Settings edits Application name and Redirect URI using Save changes. Both are submitted together. A success message acknowledges the update request; reload Overview and compare the saved callback with the external service's configured callback before initiating authorization. The Settings page gives a generic error toast rather than field-specific server validation details. Inspect the failed request's validation message through authorized developer tools when needed, and preserve your intended values before reloading after an uncertain response.
All these routes inherit authenticated/verified account and team-context middleware. Overview/Settings/base lookup require user_id to match the caller and revoked = false; another user's client or a revoked client returns 404 through that lookup. Update/revoke also constrain user_id, but do not apply the same nonrevoked predicate. There is no separate OAuth-client team policy in this controller. This is a source-level description, not a deployed cross-account authorization test.
The registered DELETE …/CLIENT_ID handler marks revoked = true; it does not delete the row despite the handler comment. The reviewed Overview/Settings pages offer neither a revoke button nor an undo/reactivation control. Arrange retirement through supported administrator controls, then verify both subsequent authorization and existing-token behavior with the platform team. A revoked-client flag alone is not evidence that every previously issued access token stopped working. Preserve the external service's rollback/configuration procedure before changing a callback or retiring a credential.
Verify an external integration
Before accepting the connection, use a controlled external service and an owner-approved test account to verify the exact authorization endpoint, allowed scopes, callback/state validation, token exchange, refresh/expiry and API permissions supported by the deployment. Obtain the supported OAuth contract from the platform team; the client-registration pages do not document or prove those behaviors. Test an excluded user and a revoked client as well. Do not send a client secret to a public frontend to work around a missing server-side integration.
For an empty client list, first distinguish the known list-prop mismatch from a missing database record. For a missing secret, resolve secure issuance/handoff rather than registering duplicates. For 404, verify client ID, signed-in owner and revocation state; changing the team URL cannot make a foreign client yours. For failed saves, verify the callback URL and 255-character limits, then reload the actual record to resolve an uncertain response. A successful Settings save does not validate a complete OAuth journey.
For a server integration restricted to one project, use Project API Keys when that is the appropriate supported principal. For a remote AI client's platform MCP connection, use the server's MCP OAuth discovery/consent flow. An arbitrary OAuth client and a registered MCP client have different authentication requirements.
Distributable app plugins
Use the authorized platform's external-app plugin management surface for application files. The implementation uses PluginExternalApp, PluginExternalAppVersion and version assets. It is separate from app-page source builds and variants described in Variants and Releases.
Before preparing distribution, confirm:
- The owning team/app and required external-app management permissions.
- The supported target operating systems and binary formats.
- A build produced by the application's own verified build/signing process.
- Whether the release should be public, default, deprecated or available only for testing.
- The target deployment's API/download host and update mechanism.
The platform stores and distributes the supplied artifacts. Creating a version does not itself compile, sign, notarize or validate a desktop application for its operating system.
Create a version and upload artifacts
- Open the app and choose New Version. Review the platform's numbered version and set External Version to the application's release identifier, such as
1.2.0. - Add Version Notes, Readme, Release Notes, platform requirements and metadata as appropriate.
- In Distribution Files, upload the intended files and select the right asset class. Dist files, icons, screenshots and other assets have distinct validation and size limits.
- Preserve artifact filenames required by the application's update system. Verify that manifest references match the uploaded binary and differential-update filenames.
- Assign update-manifest description keys where using the supported Electron-style update routes.
- Wait for successful asset upload and inspect the actual downloadable files before publishing.
The external version must be unique among the app's nondeleted versions. The integer platform version and external release identifier are separate fields; a client expecting a semantic application version should not receive an arbitrary platform row number.
Publish and select the default
Use Publish after the version has an external version identifier and the required build/distribution artifact. Inspect the returned validation result. Set as Default chooses a published version as the app's current version; publication and default selection are separate actions.
The dashboard reports download-page readiness. A public download page needs a public app, a published current default, an external version and distribution files. Public/global-default controls can require elevated authority. An artifact uploaded to an unpublished or private version is not automatically an anonymous public release.
Published artifact editing is restricted, while selected descriptive fields such as notes, readme, changelog, external version and download-page settings remain editable through the supported controller. Treat changes to release identifiers and descriptive content as release changes requiring review; do not describe every field as permanently immutable.
Use Deprecate or Activate as offered for a published release. Check the public default and consumer compatibility before changing lifecycle state. The public download page excludes deprecated releases. Preserve a compatible prior release when planning rollback; switching a default cannot reverse data or settings changed by a running client.
Public download page and updater
The public download surface can display the current default or an offered published, nondeprecated external version. Inspect its generated link in the administration interface rather than assuming the dashboard and API share a host/path.
The API v1 external-app updater uses this route family on the deployment's API host:
Path beneath /api/v1/external-apps/APP_SLUG/updates | Version asset description |
|---|---|
/latest-mac.yml | mac_update_yml |
/latest.yml | windows_update_yml |
/latest-linux.yml | linux_update_yml |
/info | Current published version metadata |
/FILENAME | An asset whose filename matches the request |
These update routes use a public app and its published current version. They are separate from authenticated version/asset management. A full asset download redirects to the signed storage URL; range requests are handled through the application for supported differential downloads. The updater's current-version lookup is cached for five minutes in this implementation, so a newly selected default can take time to appear.
Use a controlled installed client to test its actual updater. Checking that latest.yml exists is insufficient: the manifest must point to compatible uploaded files, checksums/version metadata must be correct, and the target application's signing/update behavior must succeed.
API/CI publication
Follow Plugin API Tokens for CI to issue the one-time bearer credential, configure app-specific Read/Write mappings, store it in the pipeline and verify access.
The authenticated plugin API includes version creation/update, asset management and publication. It uses external-app/plugin token policies and is not project-scoped. A project integration token is not a substitute for its management credential.
Use the deployed API Catalog and REST reference for the precise parent slug, version key, payload/upload schema and permitted actions. Publication accepts set_as_current as an optional boolean. After CI publishes, query the intended app/version and inspect its assets, published state and current pointer before distributing an update URL.
Verify and troubleshoot
Test a private/unpublished version, a public published default, a missing manifest, a wrong filename, a deprecated download selection and an older installed client's update check. Verify actual download contents and supported operating systems.
| Symptom | Check |
|---|---|
| Modern rail has no External Apps entry | OAuth-client rail entry is currently hidden; verify supported deployment/UI rather than expecting distributable plugins there |
| Cannot change an OAuth client | Authenticated owner, redirect validation and credential state |
| Cannot publish a binary version | External version identifier, build/distribution artifact and permission |
| Public page is unavailable | Public app, published/nondeprecated default, external version and dist files |
| Update manifest is missing | Correct asset description key on the current published version |
| Manifest works but binary fails | Exact referenced filename, uploaded artifact, platform compatibility, signing and client updater behavior |
| Old default still appears | Current pointer and the five-minute lookup cache; verify after the cache window |
| CI management denied | Correct plugin-management principal and actions, app ownership and parent/version keys |
Implementation reference
Reviewed against routes/developer.php, routes/api/v1/routes.php, resources/js/Developer/Layouts/Partials/DevNavigation.js, app/Http/Controllers/Developer/ExternalAppController.php, app/Http/Controllers/Admin/Plugins/ExternalAppVersionController.php, app/Http/Controllers/Admin/PublicExternalAppDownloadController.php, app/Http/Controllers/Api/Ver1/ExternalAppUpdateController.php, PluginExternalAppVersionController.php, app/Models/PluginExternalAppVersion.php, PluginExternalAppVersionAsset.php and the legacy ExternalApps/ShowVersion page at experience-portal commit 0cab696769c165d93328253378ad7e51ec7ab62e on 2026-10-13. Application binary signing and platform operator procedures remain in their owning repositories/runbooks.
The OAuth workspace subsection was additionally reviewed on 2026-10-15 at platform 3b48eb675f7c8e3c4f0b87d0cd613fa7fb371093, including ExternalApps Index/Create/Overview/Settings, DeveloperInertiaRequests and SetTeamScope. Its list/flash mismatches and owner/revocation distinctions remain implementation limitations; no live registration, credential issuance or token exchange was performed. The distributable-app evidence above retains its separate earlier scope.