Accounts & OpenID Connect
Local accounts, the rumahl OpenID Provider, Authorization Code with PKCE, OIDC clients, pairwise subjects and current limits.
Local accounts
rumahl OS supports multiple local accounts. Passwords are stored as Argon2id PHC verifiers with transactional retry state and lockout. A password change revokes live account sessions and their opaque transport credentials in the same transaction.
The OpenID Provider
rumahl OS is its own standards-compliant OpenID Provider. Only apps already present in PlatformState can be registered. The signed manifest declares a logical entrypoint, callback path, client type and requested scopes; a platform-owned resolver supplies the actual HTTPS origin.
| Route | Purpose |
|---|---|
| /.well-known/openid-configuration | Discovery document |
| /oauth2/jwks | Public signing keys |
| /oauth2/authorize | Authorization request |
| /oauth2/authorize/approve | Consent submission |
| /oauth2/token | Authorization code exchange |
| /oauth2/userinfo | UserInfo endpoint |
Flow rules
- Authorization Code with mandatory PKCE S256.
- Exact redirect matching; no wildcard callback.
- ID tokens are signed with EdDSA.
- Static web apps are public clients and receive no secret.
- Container apps are confidential clients; the random 256-bit secret is encrypted and only its SHA-256 digest is stored with the client.
- Pairwise subjects keep users separate across clients.
- offline_access is currently rejected until refresh-token families can be issued and rotated atomically.
Registration is a journal participant
The recovery-safe registrar is the only registration path. It participates in the app operation journal, delivers a recovered confidential secret through an idempotent runtime channel, and publishes staged platform state only after the snapshot and journal commit.
Nextcloud acceptance
The repository contains a Nextcloud OIDC end-to-end harness under tests/e2e/nextcloud. It covers two local users, pairwise subjects, restart persistence, revocation and the real container login sequence. The sequence remains to be executed as part of release acceptance.
Need more context? Read the source or open a discussion with the project.