Apps · integration

Connect a service without swallowing it.

rumahl connects existing services instead of replacing them. The integration level describes who owns installation and updates — not what the app is allowed to do.

8 min readUpdated 24 November 2026Connected · Enhanced · Native

Three integration levels

LevelWhat rumahl doesWhat stays independent
ConnectedLinks an existing service over its API or URLThe service keeps its own lifecycle, accounts and data
EnhancedAdds the optional rumahl Connector for deeper capabilitiesThe upstream service remains the system of record
NativeInstalls and manages a supported systemThe integration still depends on declared capabilities, not installation magic

Installation level never grants permissions. A native app and a connected app use the same permission and capability checks.

Connectors

A connector bundle targets an external service such as Nextcloud, Plex or Home Assistant. The OS installs the bundle, registers the app as an OIDC relying party for that service and exposes the chosen capabilities through the platform.

manifest excerpt
"connectors": [
  { "target": "nextcloud", "entrypoint": "main" }
]

Brokered network access

An integration app often needs to reach a LAN service, but it must not receive a socket or a cookie jar. The platform performs the HTTP(S) request after the user approves the exact origin for that installation.

manifest excerpt
"permissions": [
  { "id": "com.rumahl.os.network", "scope": "user-selected", "required": true }
],
"settings": [
  { "key": "ha.url", "title": "Home Assistant address", "type": "text", "required": true },
  { "key": "ha.token", "title": "Access token", "type": "secret", "required": true }
]
ContractBoundary
ConsentPer installation, user and exact origin; session-bound or durable with an expiry
TransportHTTP(S) only, no credentials in the URL, no fragments, no redirect following
TargetsLink-local, unspecified, broadcast and multicast are refused even after DNS resolution
SecretsDecrypted server-side and attached by the platform; never returned to the app
CookiesNever sent; response Set-Cookie is never exposed

A denied request returns 403 with a reason such as approval-required. The shell can then ask the user to approve the exact origin rather than silently retrying.

Identity and OIDC

rumahl OS is its own standards-compliant OpenID Provider for installed applications. Local accounts stay local; a service can authenticate a user without turning rumahl into a cloud identity provider.

EndpointPurpose
/.well-known/openid-configurationProvider metadata
/oauth2/jwksPublic signing keys
/oauth2/authorizeAuthorization request
/oauth2/authorize/approveExplicit consent
/oauth2/tokenToken exchange
/oauth2/userinfoUser information for authorized clients

Designing the boundary

  • Request the narrowest permission scope that supports the feature.
  • Keep service data in the service unless there is a clear reason to copy it.
  • Use Resource references, never host paths.
  • Test revocation: consent removal must take effect on the next request.
  • The integration level is a lifecycle decision, not a shortcut around authorization.

Next