Resume user-engine integration rollout
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

This commit is contained in:
tegwick 2026-08-13 14:56:53 +02:00
parent 20d4d8af04
commit 96266b9371
6 changed files with 115 additions and 27 deletions

View file

@ -104,3 +104,21 @@ Public registration stays disabled until all of the following pass together:
5. KeyCape fresh-login return flow and client allow-list checks;
6. disposable-user live tests and cleanup on railiance01.
## Runtime configuration
The source implementation is fail closed and remains disabled unless all of
these are configured together:
- `USER_ENGINE_PUBLIC_REGISTRATION=true`;
- `USER_ENGINE_REGISTRATION_VERIFICATION_URL` and its OpenBao-backed
`USER_ENGINE_REGISTRATION_VERIFICATION_TOKEN`;
- comma-separated `USER_ENGINE_REGISTRATION_CLIENTS` and
`USER_ENGINE_REGISTRATION_TENANTS` allow-lists;
- `USER_ENGINE_REGISTRATION_PASSWORD_SETUP_ORIGINS`, containing only the
trusted HTTPS provider origins allowed to receive the browser.
After verification, user-engine completes the local user, provisions with
the deterministic `public-registration-<registration-id>` idempotency key and
only the `user` role, then links the returned subject under the configured
KeyCape issuer. A setup URL outside the explicit HTTPS origin allow-list is
rejected.