Extra signup fields with `collectProfileFields`
Render a dynamic signup form driven by server config.
collectProfileFields is metadata exposed via /auth/client-config. The frontend reads it, renders matching inputs, and the server's UserRegisteredEvent listener stores them.
Server config
Frontend — render the form dynamically
Listener — persist the extras
Why a config-driven form?
It lets non-engineers tune the signup field list without redeploying the frontend. If your signup is stable, hard-code the form — collectProfileFields is overkill.