Remote Authority Backend
The remote authority backend lets one Nauthilus instance act as an edge IdP while another Nauthilus instance owns the persistent identity backend. The edge keeps browser-facing IdP state, sessions, OIDC/SAML protocol state, and authority caller-token cache state in its own Redis. The authority keeps LDAP, Lua, test-backend, MFA, WebAuthn, backend-reference, idempotency, caller-token, and backend-cache state in its own Redis.
Use this backend when the edge instance must not contain LDAP bind credentials, Lua backend credentials, MFA secrets, recovery-code hashes, or direct access to the authority's backend Redis.
Backend Order
A remote-only edge uses remote in auth.backends.order:
auth:
backends:
order:
- remote
remote:
default:
authority: "primary"
mode: "nauthilus"
timeout: 5s
allowed_operations:
- auth
- lookup_identity
- list_accounts
- mfa_read
- mfa_verify
- mfa_write
- webauthn_read
- webauthn_write
- attribute_read
Named remote backends use the same order syntax as named LDAP and Lua backends:
auth:
backends:
order:
- remote(primary)
- remote(dr)
remote:
primary:
authority: "primary"
mode: "nauthilus"
allowed_operations: [auth, lookup_identity, list_accounts]
dr:
authority: "dr"
mode: "nauthilus"
allowed_operations: [auth, lookup_identity, list_accounts]
remote without a name resolves to auth.backends.remote.default.