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.
Three integration levels
| Level | What rumahl does | What stays independent |
|---|---|---|
| Connected | Links an existing service over its API or URL | The service keeps its own lifecycle, accounts and data |
| Enhanced | Adds the optional rumahl Connector for deeper capabilities | The upstream service remains the system of record |
| Native | Installs and manages a supported system | The 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.
"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.
"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 }
]
| Contract | Boundary |
|---|---|
| Consent | Per installation, user and exact origin; session-bound or durable with an expiry |
| Transport | HTTP(S) only, no credentials in the URL, no fragments, no redirect following |
| Targets | Link-local, unspecified, broadcast and multicast are refused even after DNS resolution |
| Secrets | Decrypted server-side and attached by the platform; never returned to the app |
| Cookies | Never 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.
| Endpoint | Purpose |
|---|---|
/.well-known/openid-configuration | Provider metadata |
/oauth2/jwks | Public signing keys |
/oauth2/authorize | Authorization request |
/oauth2/authorize/approve | Explicit consent |
/oauth2/token | Token exchange |
/oauth2/userinfo | User 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
Resourcereferences, 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
- Hosting and bridge — how a hosted app reaches the platform.
- App packages — manifest fields and signing.
- API reference — consent and network routes.
Was this page helpful?